Install Zeebe exporters
Camunda 8 Self-Managed Helm chart supports the addition of Zeebe exporters by using initContainer
.
The following is an example to install Zeebe Hazelcast and Kafka exporters.
extraInitContainers:
- name: init-exporters-hazelcast
image: busybox:1.35
command: ["/bin/sh", "-c"]
args:
[
"wget --no-check-certificate https://repo1.maven.org/maven2/io/zeebe/hazelcast/zeebe-hazelcast-exporter/0.8.0-alpha1/zeebe-hazelcast-exporter-0.8.0-alpha1-jar-with-dependencies.jar -O /exporters/zeebe-hazelcast-exporter.jar; ls -al /exporters",
]
volumeMounts:
- name: exporters
mountPath: /exporters/
- name: init-exporters-kafka
image: busybox:1.35
command: ["/bin/sh", "-c"]
args:
[
"wget --no-check-certificate https://github.com/zeebe-io/zeebe-kafka-exporter/releases/download/1.1.0/zeebe-kafka-exporter-1.1.0-uber.jar -O /exporters/zeebe-kafka-exporter.jar; ls -al /exporters",
]
volumeMounts:
- name: exporters
mountPath: /exporters/
env:
- name: ZEEBE_BROKER_EXPORTERS_HAZELCAST_JARPATH
value: /exporters/zeebe-hazelcast-exporter.jar
- name: ZEEBE_BROKER_EXPORTERS_HAZELCAST_CLASSNAME
value: io.zeebe.hazelcast.exporter.HazelcastExporter
- name: ZEEBE_HAZELCAST_REMOTE_ADDRESS
value: "{{ .Release.Name }}-hazelcast"
This example is downloading the exporters' JAR from a URL and adding the JAR to the exporters
directory,
which will be scanned for JARs and added to the Zeebe broker classpath. Then, with environment variables
,
you can configure the exporter parameters.