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,15 @@
apiVersion: v1
kind: Service
metadata:
name: prometheus-operator
labels:
k8s-app: prometheus-operator
spec:
type: ClusterIP
ports:
- name: http
port: 8080
targetPort: http
protocol: TCP
selector:
k8s-app: prometheus-operator