rook-ceph-mgr-servicemonitor.yaml 615 B

12345678910111213141516171819202122232425
  1. # Copy of rook-ceph/servicemonitor/rook-ceph-mgr, with nicer labels.
  2. # Deploy it in the monitoring namespace as well: cross-namespace servicemonitor discovery is a bit buggy.
  3. apiVersion: monitoring.coreos.com/v1
  4. kind: ServiceMonitor
  5. metadata:
  6. labels:
  7. team: rook
  8. name: rook-ceph-mgr
  9. name: rook-ceph-mgr
  10. namespace: monitoring
  11. spec:
  12. endpoints:
  13. - bearerTokenSecret:
  14. key: ""
  15. interval: 5s
  16. path: /metrics
  17. port: http-metrics
  18. namespaceSelector:
  19. matchNames:
  20. - rook-ceph
  21. selector:
  22. matchLabels:
  23. app: rook-ceph-mgr
  24. #ceph_daemon_id: b
  25. rook_cluster: rook-ceph