kube-prometheus: Remove unnecessary namespace selectors
This commit is contained in:
@@ -9,9 +9,6 @@ spec:
|
||||
endpoints:
|
||||
- interval: 30s
|
||||
port: web
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- monitoring
|
||||
selector:
|
||||
matchLabels:
|
||||
alertmanager: main
|
||||
|
@@ -21,9 +21,6 @@ spec:
|
||||
tlsConfig:
|
||||
insecureSkipVerify: true
|
||||
jobLabel: k8s-app
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- monitoring
|
||||
selector:
|
||||
matchLabels:
|
||||
k8s-app: kube-state-metrics
|
||||
|
@@ -14,9 +14,6 @@ spec:
|
||||
tlsConfig:
|
||||
insecureSkipVerify: true
|
||||
jobLabel: k8s-app
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- monitoring
|
||||
selector:
|
||||
matchLabels:
|
||||
k8s-app: node-exporter
|
||||
|
@@ -9,9 +9,6 @@ spec:
|
||||
endpoints:
|
||||
- interval: 30s
|
||||
port: web
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
- monitoring
|
||||
selector:
|
||||
matchLabels:
|
||||
prometheus: k8s
|
Reference in New Issue
Block a user