kube-prometheus: Remove unnecessary namespace selectors

This commit is contained in:
Frederic Branczyk
2018-05-31 17:37:43 +02:00
parent 10bbf403fe
commit b7d0da01d5
10 changed files with 25 additions and 57 deletions
@@ -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