13 lines
253 B
YAML
13 lines
253 B
YAML
|
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
|