infra/k8s/operators/longhorn/servicemonitor.yaml

17 lines
296 B
YAML
Raw Permalink Normal View History

2024-09-01 23:11:26 +00:00
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: longhorn
namespace: longhorn-system
labels:
name: longhorn
spec:
selector:
matchLabels:
app: longhorn-manager
namespaceSelector:
matchNames:
- longhorn-system
endpoints:
- port: manager