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

13 lines
257 B
YAML

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