core-deployments/prometheus/service-monitor-longhorn.yaml
Tom Neuber e00cc2d4dd
Some checks failed
ci/woodpecker/push/yamllint Pipeline failed
fix typos and file layout for yamllint
2024-10-07 09:19:54 +02:00

17 lines
351 B
YAML

---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: longhorn-prometheus-servicemonitor
namespace: prometheus
labels:
name: longhorn-prometheus-servicemonitor
spec:
selector:
matchLabels:
app: longhorn-manager
namespaceSelector:
matchNames:
- longhorn-system
endpoints:
- port: manager