Monitoring/manifests/node-exporter/servicemonitor.yaml

13 lines
253 B
YAML
Raw Normal View History

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: node-exporter
namespace: monitoring
spec:
selector:
matchLabels:
app.kubernetes.io/name: node-exporter
endpoints:
- port: node-exporter
path: /metrics