[COMMON] Harmonize resource settings
[oom.git] / kubernetes / strimzi / values.yaml
index 057f200..541b4f8 100644 (file)
@@ -29,8 +29,11 @@ global:
 # Application configuration defaults.
 #################################################################
 replicaCount: 3
+affinity:
+  podAntiAffinity:
+    enabled: true
 config:
-  kafkaVersion: 3.2.3
+  kafkaVersion: 3.4.0
   authType: simple
   saslMechanism: &saslMech scram-sha-512
   kafkaInternalPort: &plainPort 9092
@@ -39,6 +42,7 @@ config:
   advertizedPortBroker0: &advertizedPortBroker0 9000
   advertizedPortBroker1: &advertizedPortBroker1 9001
   advertizedPortBroker2: &advertizedPortBroker2 9002
+  autoCreateTopics: true
 
 persistence:
   enabled: &pvenabled true
@@ -90,6 +94,54 @@ ingress:
       exposedPort: *advertizedPortBroker2
       exposedProtocol: TLS
 
+# Kafka Exporter for metrics
+metrics:
+  enabled: false
+  kafkaExporter:
+    enabled: false
+    metricsConfig:
+      type: jmxPrometheusExporter
+    topicRegex: ".*"
+    groupRegex: ".*"
+    resources:
+      requests:
+        cpu: "2"
+        memory: "0.6Gi"
+      limits:
+        cpu: "5"
+        memory: "1.5Gi"
+    logging: debug
+    enableSaramaLogging: true
+    readinessProbe:
+      initialDelaySeconds: 15
+      timeoutSeconds: 5
+    livenessProbe:
+      initialDelaySeconds: 15
+      timeoutSeconds: 5
+  podMonitor:
+    # Prometheus pre requisite. Currently an optional addon in the OOM docs
+    enabled: false
+    # default port for strimzi metrics
+    port: "tcp-prometheus"
+    # podMonitor labels for prometheus to pick up the podMonitor
+    # dummy value
+    labels:
+      release: dummy
+    relabelings: []
+    metricRelabelings: []
+
+cruiseControl:
+## Cruise Control provides a Kafka metrics reporter implementation
+## once installed into the Kafka brokers, filters and records a wide range of metrics provided by the brokers themselves.
+## pre requisite is having 2 or more broker nodes
+  enabled: false
+  metricsConfig:
+    type: jmxPrometheusExporter
+  ## Custom resource for Kafka that can rebalance your cluster
+  # ref. https://strimzi.io/blog/2020/06/15/cruise-control/
+  kafkaRebalance:
+    enabled: false
+
 ######################
 #  Component overrides
 ######################
@@ -98,4 +150,4 @@ strimzi-kafka-bridge:
   config:
     saslMechanism: *saslMech
     kafkaInternalPort: *plainPort
-    strimziKafkaAdminUser: *adminUser
\ No newline at end of file
+    strimziKafkaAdminUser: *adminUser