Kubernetes service for Kafka exporter is missing #7084
-
It seams Strimzi (at least the version that I am using - 0.27.1) does not create a Kubernetes service for the Prometheus exporter. As a result, the Prometheus does not discover the service and of course the Grafana dashboard is empty.
What would've changed? I noticed that kafka.yaml
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The Service was removed long time ago (0.20.0). You can scrape the metrics directly from the Pod without any service. If you really need a service for your Prometheus, you can create it your self. The same applies for the Prometheus metrics in other resources (e.g. Kafka brokers). They are also not anymore exposed on the services (through the services exist there as they are used also for something else). |
Beta Was this translation helpful? Give feedback.
The Service was removed long time ago (0.20.0). You can scrape the metrics directly from the Pod without any service. If you really need a service for your Prometheus, you can create it your self. The same applies for the Prometheus metrics in other resources (e.g. Kafka brokers). They are also not anymore exposed on the services (through the services exist there as they are used also for something else).