diff --git a/helm/templates/grafana/dashboard-config-map.yaml b/helm/templates/grafana/dashboard-config-map.yaml index c4f5709bb372e026afb9992d7ce4ffa021436b01..cc9ec623f3ef71459ccad65128bf8cd65f0d6eb6 100644 --- a/helm/templates/grafana/dashboard-config-map.yaml +++ b/helm/templates/grafana/dashboard-config-map.yaml @@ -527,7 +527,7 @@ data: "steppedLine": false, "targets": [ { - "expr": "count by(topic) (kafka_topic_partitions >= 0)", + "expr": "sum by(topic) (kafka_topic_partitions >= 0)", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{topic}}", diff --git a/helm/templates/kafka/kafka-client.yaml b/helm/templates/kafka/kafka-client.yaml index 02e16d33dfc9595dd16c41fa6bfe1404fd7889ab..1edf1b96c7326d6a3cfdb1a45640ec9d8d720fba 100644 --- a/helm/templates/kafka/kafka-client.yaml +++ b/helm/templates/kafka/kafka-client.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: Pod metadata: - # name: {{ template "theodolite.fullname" . }}-kafka-client name: {{ template "theodolite.fullname" . }}-kafka-client spec: containers: @@ -12,6 +11,9 @@ spec: - sh - -c - "exec tail -f /dev/null" + env: + - name: BOOTSTRAP_SERVER + value: {{ template "theodolite.fullname" . }}-kafka-kafka-bootstrap:9092 {{- with .Values.kafkaClient.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}