k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/pkg/prometheus/manifests/default/prometheus-serviceMonitorCoreDNS.yaml (about) 1 apiVersion: monitoring.coreos.com/v1 2 kind: ServiceMonitor 3 metadata: 4 labels: 5 k8s-app: coredns 6 name: coredns 7 namespace: monitoring 8 spec: 9 endpoints: 10 - bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token 11 interval: 10s 12 port: metrics 13 jobLabel: k8s-app 14 namespaceSelector: 15 matchNames: 16 - kube-system 17 selector: 18 matchLabels: 19 k8s-app: kube-dns