Added kafka exporter

This commit is contained in:
2023-11-02 12:15:41 +01:00
parent 3694670fbc
commit 2fe0eaf26b
8 changed files with 37 additions and 15 deletions
+6 -3
View File
@@ -1,6 +1,9 @@
dependencies:
- name: template
repository: https://repo.2martens.de/charts
version: 0.1.20
digest: sha256:0dc0ae3940fcb77a1365662fbd85659802a680c27fa6c1543c7b391c168d581e
generated: "2023-11-02T12:00:20.54589+01:00"
version: 0.1.21
- name: prometheus-kafka-exporter
repository: https://prometheus-community.github.io/helm-charts
version: 2.7.0
digest: sha256:42e1bb034e5627e07db96f607d04c3df20b04c98a2d1c7e9ec81843943fcbf37
generated: "2023-11-02T12:15:06.472721+01:00"
+3
View File
@@ -6,3 +6,6 @@ dependencies:
- name: template
version: 0.1.21
repository: https://repo.2martens.de/charts
- name: prometheus-kafka-exporter
version: 2.7.0
repository: https://prometheus-community.github.io/helm-charts
+5 -1
View File
@@ -15,4 +15,8 @@ environment:
- name: KAFKA_INTER_BROKER_LISTENER_NAME
value: PLAINTEXT
- name: KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR
value: "1"
value: "1"
prometheus-kafka-exporter:
kafkaServer:
- kafka.kafka:9092
+12
View File
@@ -2,6 +2,8 @@
# the default for your application differs. The image.repository is a prime candidate for that.
replicaCount: 1
# revisionHistoryLimit: can be configured to reduce/increase amount of stored replica sets for rollback
revisionHistoryLimit: 10
image:
repository: confluentinc/cp-kafka
pullPolicy: IfNotPresent
@@ -48,6 +50,13 @@ application:
zookeeper:
host: zookeeper
port: 2181
prometheus:
enabled: false
# only enable if you have the Prometheus operator installed, otherwise it will fail due to missing CRDs
useCRDs: false
# namespace: the namespace of the Prometheus installation
# the value is templated
namespace:
# Overwrite with application specific environment variables
# Each item has key and value, where the value is parsed as a template
environment:
@@ -136,3 +145,6 @@ affinity: {}
podSpec: {}
# containerSpec: will be added at the bottom of the container specification in the pod template
containerSpec: {}
prometheus-kafka-exporter:
kafkaServer:
- kafka.kafka:9092