17 lines
309 B
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
|