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
+3 -3
View File
@@ -1,6 +1,6 @@
dependencies: dependencies:
- name: template - name: template
repository: https://repo.2martens.de/charts repository: https://repo.2martens.de/charts
version: 0.1.20 version: 0.1.21
digest: sha256:0dc0ae3940fcb77a1365662fbd85659802a680c27fa6c1543c7b391c168d581e digest: sha256:1a1078b145cf212b0c37f57c763e8bfbec57159520e6ecee5c2e3f6021e31084
generated: "2023-11-02T11:57:17.734311+01:00" generated: "2023-11-02T12:10:54.325529+01:00"
+1 -1
View File
@@ -4,5 +4,5 @@ version: 0.1.0
type: application type: application
dependencies: dependencies:
- name: template - name: template
version: 0.1.20 version: 0.1.21
repository: https://repo.2martens.de/charts repository: https://repo.2martens.de/charts
+6 -3
View File
@@ -1,6 +1,9 @@
dependencies: dependencies:
- name: template - name: template
repository: https://repo.2martens.de/charts repository: https://repo.2martens.de/charts
version: 0.1.20 version: 0.1.21
digest: sha256:0dc0ae3940fcb77a1365662fbd85659802a680c27fa6c1543c7b391c168d581e - name: prometheus-kafka-exporter
generated: "2023-11-02T12:00:20.54589+01:00" 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 - name: template
version: 0.1.21 version: 0.1.21
repository: https://repo.2martens.de/charts 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 - name: KAFKA_INTER_BROKER_LISTENER_NAME
value: PLAINTEXT value: PLAINTEXT
- name: KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR - 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. # the default for your application differs. The image.repository is a prime candidate for that.
replicaCount: 1 replicaCount: 1
# revisionHistoryLimit: can be configured to reduce/increase amount of stored replica sets for rollback
revisionHistoryLimit: 10
image: image:
repository: confluentinc/cp-kafka repository: confluentinc/cp-kafka
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
@@ -48,6 +50,13 @@ application:
zookeeper: zookeeper:
host: zookeeper host: zookeeper
port: 2181 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 # Overwrite with application specific environment variables
# Each item has key and value, where the value is parsed as a template # Each item has key and value, where the value is parsed as a template
environment: environment:
@@ -136,3 +145,6 @@ affinity: {}
podSpec: {} podSpec: {}
# containerSpec: will be added at the bottom of the container specification in the pod template # containerSpec: will be added at the bottom of the container specification in the pod template
containerSpec: {} containerSpec: {}
prometheus-kafka-exporter:
kafkaServer:
- kafka.kafka:9092
+3 -3
View File
@@ -4,6 +4,6 @@ dependencies:
version: 2.7.0 version: 2.7.0
- name: template - name: template
repository: file://../template repository: file://../template
version: 0.1.20 version: 0.1.21
digest: sha256:2c2a71a4a41b338b87fab0a2e26454bc68f4fde9983c4635236a006a088b6f89 digest: sha256:0d86a5d1eb9435a2c68d5acf4e31899cd8b50329052236feff2476d01a405b1c
generated: "2023-11-02T12:02:09.048349+01:00" generated: "2023-11-02T12:12:13.425908+01:00"
+4 -4
View File
@@ -2,7 +2,7 @@ apiVersion: v2
name: kafka name: kafka
description: Simple Kafka chart to get started description: Simple Kafka chart to get started
type: application type: application
version: 0.1.4 version: 0.1.5
maintainers: maintainers:
- name: Jim Martens - name: Jim Martens
url: https://2martens.de url: https://2martens.de
@@ -11,12 +11,12 @@ dependencies:
version: 2.7.0 version: 2.7.0
repository: https://prometheus-community.github.io/helm-charts repository: https://prometheus-community.github.io/helm-charts
- name: template - name: template
version: 0.1.20 version: 0.1.21
repository: file://../template repository: file://../template
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: added - kind: fixed
description: Added Prometheus support description: Fixed syntax error
artifacthub.io/signKey: | artifacthub.io/signKey: |
fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8 fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8
url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc