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 <tnielsen@redhat.com>
(cherry picked from commit 754f073aa5)
This commit is contained in:
1 parent
aef34cc8b4
commit
056cd45fa2
1 file changed
+3
-4
@@ -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
|
||||
Reference in new issue
Block a user