mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-29 19:07:49 +01:00
18 lines
323 B
YAML
18 lines
323 B
YAML
|
apiVersion: monitoring.coreos.com/v1
|
||
|
kind: ServiceMonitor
|
||
|
metadata:
|
||
|
name: kube-scheduler
|
||
|
labels:
|
||
|
k8s-app: kube-scheduler
|
||
|
spec:
|
||
|
jobLabel: k8s-app
|
||
|
endpoints:
|
||
|
- port: http-metrics
|
||
|
interval: 30s
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
k8s-app: kube-scheduler
|
||
|
namespaceSelector:
|
||
|
matchNames:
|
||
|
- kube-system
|