diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-05-04 23:28:22 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-05-05 00:04:16 +0200 |
commit | abffd013038d7462f81c843928d49d69442efaba (patch) | |
tree | ccc39d51c8cbe3c5360353f34b0751f00f46398f | |
parent | misc: add todo (diff) | |
download | fs-tracer-backend-abffd013038d7462f81c843928d49d69442efaba.tar.gz fs-tracer-backend-abffd013038d7462f81c843928d49d69442efaba.tar.bz2 fs-tracer-backend-abffd013038d7462f81c843928d49d69442efaba.zip |
k8s: add kafka-ui config
-rw-r--r-- | k8s/helmsman.yml | 14 | ||||
-rw-r--r-- | k8s/kafka-ui.yml | 16 |
2 files changed, 29 insertions, 1 deletions
diff --git a/k8s/helmsman.yml b/k8s/helmsman.yml index 7544b17..6cf4e26 100644 --- a/k8s/helmsman.yml +++ b/k8s/helmsman.yml @@ -1,5 +1,8 @@ # Helmsman +helmRepos: + kafka-ui: https://provectus.github.io/kafka-ui-charts + namespaces: default: metallb-system: @@ -31,12 +34,21 @@ apps: log.retention.hours=24 log.retention.bytes=2147483648 + # To enable: helm install kafka-ui kafka-ui/kafka-ui -f kafka-ui.yml --version 0.7.6 + kafka-ui: + namespace: default + enabled: false + chart: kafka-ui/kafka-ui + version: 0.7.6 + priority: -2 + valuesFile: kafka-ui.yml + payload-processor: namespace: default enabled: true chart: payload-processor version: 0.1.0 - priority: -2 + priority: -1 set: image.tag: "payload-processor-$COMMIT_SHA" diff --git a/k8s/kafka-ui.yml b/k8s/kafka-ui.yml new file mode 100644 index 0000000..a99d7f9 --- /dev/null +++ b/k8s/kafka-ui.yml @@ -0,0 +1,16 @@ +env: + - name: KAFKA_PASSWORD + valueFrom: + secretKeyRef: + name: kafka-user-passwords + key: client-passwords + - name: KAFKA_CLUSTERS_0_NAME + value: local + - name: KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS + value: "kafka.default.svc.cluster.local:9092" + - name: KAFKA_CLUSTERS_0_PROPERTIES_SECURITY_PROTOCOL + value: SASL_PLAINTEXT + - name: KAFKA_CLUSTERS_0_PROPERTIES_SASL_MECHANISM + value: PLAIN + - name: KAFKA_CLUSTERS_0_PROPERTIES_SASL_JAAS_CONFIG + value: org.apache.kafka.common.security.plain.PlainLoginModule required username="user1" password="$(KAFKA_PASSWORD)"; |