# Prometheus Monitor Service (Metrics)
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  labels:
    control-plane: controller-manager
  name: capsule-monitor
  namespace: system
spec:
  endpoints:
    - interval: 15s
      path: /metrics
      port: metrics
  jobLabel: controller-manager
  namespaceSelector:
  selector:
    matchLabels:
      control-plane: controller-manager
