kube-prometheus: add prometheus-operator as target

This commit is contained in:
Frederic Branczyk
2017-05-29 18:29:39 -07:00
parent fbab1e4212
commit f0851d5e4d
3 changed files with 44 additions and 14 deletions

View File

@@ -0,0 +1,12 @@
apiVersion: monitoring.coreos.com/v1alpha1
kind: ServiceMonitor
metadata:
name: prometheus-operator
labels:
k8s-app: prometheus-operator
spec:
endpoints:
- port: http
selector:
matchLabels:
k8s-app: prometheus-operator