...
Code Block | ||||
---|---|---|---|---|
| ||||
kafka:
authorization:
type: simple
superUsers:
- CN=kowl
- CN=connect
...
metricsConfig:
type: jmxPrometheusExporter
valueFrom:
configMapKeyRef:
name: kafka-metrics
key: kafka-metrics-config.yml
...
zookeeper:
replicas: 1
storage:
deleteClaim: false
size: 10Mi
type: persistent-claim
metricsConfig:
type: jmxPrometheusExporter
valueFrom:
configMapKeyRef:
name: kafka-metrics
key: zookeeper-metrics-config.yml
key: zookeeper-metrics-config.yml |
This is the kafka-metrics.yaml for creating the config map: kafka-metrics.yaml
...