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

15 lines
247 B
YAML
Raw Permalink Normal View History

2018-03-02 01:03:53 +01:00
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
k8s-app: prometheus
name: prometheus
namespace: monitoring
2018-03-02 01:03:53 +01:00
spec:
endpoints:
- interval: 30s
port: web
2018-03-02 01:03:53 +01:00
selector:
matchLabels:
prometheus: k8s