diff options
author | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2019-03-05 10:53:13 -0800 |
---|---|---|
committer | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2019-03-05 10:53:13 -0800 |
commit | 06db73183c120e1243c630f8960e8fab91b2b6f5 (patch) | |
tree | db891ce24cb5e036b590223e0cbcc36f0b43228c /vnfs/DAaaS/messaging/charts/kafka | |
parent | 3dfd3180c0a4d192f4524d74e36d2ba50bffff71 (diff) |
Messaging Service Helm charts package
The packages needed for distributed analytics are separated as
collection, messaging, training, inference and visualization.
Messaging package consists of Kafka Cluster and Topic operators.
Change-Id: I13dbd437b73d49e9d0fff6327111b7b1cf394fd8
Issue-ID: ONAPARC-392
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Diffstat (limited to 'vnfs/DAaaS/messaging/charts/kafka')
-rw-r--r-- | vnfs/DAaaS/messaging/charts/kafka/.helmignore | 22 | ||||
-rw-r--r-- | vnfs/DAaaS/messaging/charts/kafka/Chart.yaml | 5 | ||||
-rw-r--r-- | vnfs/DAaaS/messaging/charts/kafka/templates/kafka-cluster.yaml | 29 | ||||
-rw-r--r-- | vnfs/DAaaS/messaging/charts/kafka/values.yaml | 30 |
4 files changed, 86 insertions, 0 deletions
diff --git a/vnfs/DAaaS/messaging/charts/kafka/.helmignore b/vnfs/DAaaS/messaging/charts/kafka/.helmignore new file mode 100644 index 00000000..50af0317 --- /dev/null +++ b/vnfs/DAaaS/messaging/charts/kafka/.helmignore @@ -0,0 +1,22 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/vnfs/DAaaS/messaging/charts/kafka/Chart.yaml b/vnfs/DAaaS/messaging/charts/kafka/Chart.yaml new file mode 100644 index 00000000..b0558bb8 --- /dev/null +++ b/vnfs/DAaaS/messaging/charts/kafka/Chart.yaml @@ -0,0 +1,5 @@ +apiVersion: v1 +appVersion: "1.0" +description: Helm chart for kafka operator +name: kafka +version: 0.1.0 diff --git a/vnfs/DAaaS/messaging/charts/kafka/templates/kafka-cluster.yaml b/vnfs/DAaaS/messaging/charts/kafka/templates/kafka-cluster.yaml new file mode 100644 index 00000000..cf71fca7 --- /dev/null +++ b/vnfs/DAaaS/messaging/charts/kafka/templates/kafka-cluster.yaml @@ -0,0 +1,29 @@ +apiVersion: kafka.strimzi.io/v1alpha1 +kind: Kafka +metadata: + name: {{ .Values.cluster_name }} +spec: + kafka: + version: {{ .Values.version }} + replicas: {{ .Values.replicas }} + listeners: + plain: {} + tls: {} + config: + offsets.topic.replication.factor: {{ .Values.topic.replicationFactor }} + transaction.state.log.replication.factor: 3 + transaction.state.log.min.isr: 2 + log.message.format.version: "2.1" + storage: + type: persistent-claim + size: {{ .Values.storage }} + deleteClaim: false + zookeeper: + replicas: {{ .Values.zookeeper.replicas }} + storage: + type: persistent-claim + size: {{ .Values.zookeeper.storage }} + deleteClaim: false + entityOperator: + topicOperator: {} + userOperator: {} diff --git a/vnfs/DAaaS/messaging/charts/kafka/values.yaml b/vnfs/DAaaS/messaging/charts/kafka/values.yaml new file mode 100644 index 00000000..a5e615c9 --- /dev/null +++ b/vnfs/DAaaS/messaging/charts/kafka/values.yaml @@ -0,0 +1,30 @@ +# Default values for kafka. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +cluster_name: my-cluster +version: 2.1.0 +replicas: 3 +topic: + replicationFactor: 3 +storage: 100Gi +zookeeper: + replicas: 3 + storage: 100Gi +resources: {} + # We usually recommend not to specify default resources and to leave this as a conscious + # choice for the user. This also increases chances charts run on environments with little + # resources, such as Minikube. If you do want to specify resources, uncomment the following + # lines, adjust them as necessary, and remove the curly braces after 'resources:'. + # limits: + # cpu: 100m + # memory: 128Mi + # requests: + # cpu: 100m + # memory: 128Mi + +nodeSelector: {} + +tolerations: [] + +affinity: {} |