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