From 056cd45fa2566ea024496be04d627ef7cc7efa69 Mon Sep 17 00:00:00 2001 From: travisn Date: Mon, 22 May 2023 14:20:19 -0600 Subject: [PATCH] monitoring: service monitor should not use mgr_role label The service monitor selectors need to match the mgr service labels. Since the mgr service labels don't use the mgr_role (only the mgr service selectors use the mgr_role), the mgr_role should be removed from the service monitor. Signed-off-by: travisn (cherry picked from commit 754f073aa5747df4db3cbd443bb14bf74de925b8) --- deploy/examples/monitoring/service-monitor.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/deploy/examples/monitoring/service-monitor.yaml b/deploy/examples/monitoring/service-monitor.yaml index 44a7a4f7b..9bf062687 100644 --- a/deploy/examples/monitoring/service-monitor.yaml +++ b/deploy/examples/monitoring/service-monitor.yaml @@ -11,10 +11,9 @@ spec: - rook-ceph selector: matchLabels: - mgr_role: active app: rook-ceph-mgr rook_cluster: rook-ceph endpoints: - - port: http-metrics - path: /metrics - interval: 5s + - port: http-metrics + path: /metrics + interval: 5s