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

17 lines
309 B
YAML

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