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

17 lines
309 B
YAML
Raw Normal View History

2021-08-28 20:48:00 +00:00
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: longhorn
labels:
app.kubernetes.io/name: longhorn
monitor: prometheus
spec:
selector:
matchLabels:
app: longhorn-manager
namespaceSelector:
matchNames:
- longhorn-system
endpoints:
- port: manager