14 lines
297 B
YAML
14 lines
297 B
YAML
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
name: node-exporter
|
|
namespace: monitoring
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/component: exporter
|
|
app.kubernetes.io/name: node-exporter
|
|
endpoints:
|
|
- port: node-exporter
|
|
path: /metrics
|