1
0
Fork 0
home-stack-kustomize/kustomize/bases/prometheus/servicemonitors/prometheus.yaml

13 lines
257 B
YAML
Raw Normal View History

2021-08-28 20:48:00 +00:00
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: prometheus
labels:
app.kubernetes.io/name: prometheus
monitor: prometheus
spec:
selector:
matchLabels:
operated-prometheus: "true"
endpoints:
- port: web