rpi.carlosedp.cluster-monit.../manifests/0prometheus-operator-serviceMonitor.yaml

15 lines
283 B
YAML
Raw Normal View History

2018-03-02 01:03:53 +01:00
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
k8s-app: prometheus-operator
name: prometheus-operator
namespace: monitoring
2018-03-02 01:03:53 +01:00
spec:
endpoints:
- honorLabels: true
port: http
2018-03-02 01:03:53 +01:00
selector:
matchLabels:
k8s-app: prometheus-operator