diff --git a/helm/Chart.yaml b/helm/Chart.yaml index e3307341c3f455215c74a8449ac7160606524b63..d19c406105acd9528e7c34eb88a76f10c946b292 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -27,6 +27,7 @@ dependencies: - name: strimzi-kafka-operator version: 0.27.1 repository: https://strimzi.io/charts/ + condition: strimzi-kafka-operator.enabled version: 0.7.0-SNAPSHOT diff --git a/helm/templates/strimzi/kafka-cluster.yaml b/helm/templates/strimzi/kafka-cluster.yaml index 87f5e67c64aa6c3bb9de112334a28318dbf27c7a..cb427681e66d55b28c771874b205bf1548801fcb 100644 --- a/helm/templates/strimzi/kafka-cluster.yaml +++ b/helm/templates/strimzi/kafka-cluster.yaml @@ -5,30 +5,17 @@ metadata: spec: kafka: jmxOptions: {} - listeners: - - name: plain - port: 9092 - type: internal - tls: false storage: type: ephemeral - replicas: 3 metricsConfig: type: jmxPrometheusExporter valueFrom: configMapKeyRef: name: kafka-metrics key: kafka-metrics-config.yml - config: - message.max.bytes: "134217728" # 128 MB - replica.fetch.max.bytes: "134217728" #128 MB - auto.create.topics.enable: false - log.retention.ms: "7200000" # 2h - metrics.sample.window.ms: "5000" #5s kafkaExporter: {} zookeeper: - replicas: 3 storage: type: ephemeral diff --git a/helm/templates/strimzi/kafka-config.yaml b/helm/templates/strimzi/kafka-metrics-configmap.yaml similarity index 100% rename from helm/templates/strimzi/kafka-config.yaml rename to helm/templates/strimzi/kafka-metrics-configmap.yaml diff --git a/helm/values.yaml b/helm/values.yaml index 6724094907b89e600df45df0bf00346ad5d30a23..123673469a37bfef71e4a59b28dea5b132d3238b 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -156,12 +156,25 @@ cp-helm-charts: ## The interval between refreshing metrics pollIntervalSeconds: 15 - prometheus: - serviceMonitor: - enabled: true - interval: "5s" - additionalLabels: - appScope: titan-ccp +strimzi-kafka-operator: + enabled: true + + kafka: + listeners: + - name: plain + port: 9092 + type: internal + tls: false + replicas: 3 + config: + message.max.bytes: "134217728" # 128 MB + replica.fetch.max.bytes: "134217728" #128 MB + auto.create.topics.enable: false + log.retention.ms: "7200000" # 2h + metrics.sample.window.ms: "5000" #5s + + zookeeper: + replicas: 3 ###