github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/scripts/vagrant/provision/manifests/kube-prometheus/prometheus-serviceMonitorKubeScheduler.yaml (about)

     1  apiVersion: monitoring.coreos.com/v1
     2  kind: ServiceMonitor
     3  metadata:
     4    labels:
     5      k8s-app: kube-scheduler
     6    name: kube-scheduler
     7    namespace: monitoring
     8  spec:
     9    endpoints:
    10    - interval: 30s
    11      port: http-metrics
    12    jobLabel: k8s-app
    13    namespaceSelector:
    14      matchNames:
    15      - kube-system
    16    selector:
    17      matchLabels:
    18        k8s-app: kube-scheduler