kube-prometheus: Remove unnecessary namespace selectors

This commit is contained in:
Frederic Branczyk
2018-05-31 17:28:37 +02:00
parent 10bbf403fe
commit b7d0da01d5
10 changed files with 25 additions and 57 deletions

View File

@@ -0,0 +1,14 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
k8s-app: prometheus
name: prometheus
namespace: monitoring
spec:
endpoints:
- interval: 30s
port: web
selector:
matchLabels:
prometheus: k8s