kube-prometheus: simplify service monitors
This commit is contained in:
@@ -3,16 +3,16 @@ kind: ServiceMonitor
|
||||
metadata:
|
||||
name: kubelet
|
||||
labels:
|
||||
k8s-apps: http
|
||||
k8s-app: kubelet
|
||||
spec:
|
||||
jobLabel: k8s-app
|
||||
endpoints:
|
||||
- port: http-metrics
|
||||
interval: 30s
|
||||
honorLabels: true
|
||||
selector:
|
||||
matchLabels:
|
||||
k8s-app: kubelet
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- kube-system
|
||||
endpoints:
|
||||
- port: http-metrics
|
||||
interval: 15s
|
||||
honorLabels: true
|
||||
|
||||
Reference in New Issue
Block a user