aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/deploy/messaging/charts/kafka
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/DAaaS/deploy/messaging/charts/kafka')
-rw-r--r--vnfs/DAaaS/deploy/messaging/charts/kafka/.helmignore22
-rw-r--r--vnfs/DAaaS/deploy/messaging/charts/kafka/Chart.yaml5
-rw-r--r--vnfs/DAaaS/deploy/messaging/charts/kafka/templates/kafka-cluster.yaml29
-rw-r--r--vnfs/DAaaS/deploy/messaging/charts/kafka/values.yaml30
4 files changed, 86 insertions, 0 deletions
diff --git a/vnfs/DAaaS/deploy/messaging/charts/kafka/.helmignore b/vnfs/DAaaS/deploy/messaging/charts/kafka/.helmignore
new file mode 100644
index 00000000..50af0317
--- /dev/null
+++ b/vnfs/DAaaS/deploy/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/deploy/messaging/charts/kafka/Chart.yaml b/vnfs/DAaaS/deploy/messaging/charts/kafka/Chart.yaml
new file mode 100644
index 00000000..b0558bb8
--- /dev/null
+++ b/vnfs/DAaaS/deploy/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/deploy/messaging/charts/kafka/templates/kafka-cluster.yaml b/vnfs/DAaaS/deploy/messaging/charts/kafka/templates/kafka-cluster.yaml
new file mode 100644
index 00000000..cf71fca7
--- /dev/null
+++ b/vnfs/DAaaS/deploy/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/deploy/messaging/charts/kafka/values.yaml b/vnfs/DAaaS/deploy/messaging/charts/kafka/values.yaml
new file mode 100644
index 00000000..a5e615c9
--- /dev/null
+++ b/vnfs/DAaaS/deploy/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: {}