From 73d933ec45210c21ab71812dc2f8422e142c91c2 Mon Sep 17 00:00:00 2001 From: Matej Feder Date: Fri, 7 Jun 2024 13:38:15 +0200 Subject: [PATCH] monitoring: fix exporter service monitor selector Exporter service created by rook operator contains the following labels: `app=rook-ceph-exporter,rook_cluster=` Label `ceph_daemon_id=exporter` is not there and therefore the service monitor selector can not discover the exporter service. This fix removes the `ceph_daemon_id=exporter` label from the exporter service monitor selector. Signed-off-by: Matej Feder (cherry picked from commit 7053e761da11c7c7feee227caf65466dd159772e) --- deploy/examples/monitoring/exporter-service-monitor.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/deploy/examples/monitoring/exporter-service-monitor.yaml b/deploy/examples/monitoring/exporter-service-monitor.yaml index b24e0fc9f..e05012b6e 100644 --- a/deploy/examples/monitoring/exporter-service-monitor.yaml +++ b/deploy/examples/monitoring/exporter-service-monitor.yaml @@ -13,7 +13,6 @@ spec: matchLabels: app: rook-ceph-exporter rook_cluster: rook-ceph # namespace:cluster - ceph_daemon_id: exporter endpoints: - port: ceph-exporter-http-metrics path: /metrics