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

15 lines
256 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: servicemonitor-http
labels:
monitor: prometheus
spec:
namespaceSelector:
any: true
selector:
matchLabels:
monitor: prometheus
endpoints:
- port: http