2024-11-11 18:03:28 +00:00
|
|
|
apiVersion: monitoring.coreos.com/v1
|
|
|
|
kind: ServiceMonitor
|
|
|
|
metadata:
|
|
|
|
name: node-exporter
|
|
|
|
namespace: monitoring
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
2024-11-11 19:03:27 +00:00
|
|
|
app.kubernetes.io/component: exporter
|
2024-11-11 18:03:28 +00:00
|
|
|
app.kubernetes.io/name: node-exporter
|
|
|
|
endpoints:
|
|
|
|
- port: node-exporter
|
|
|
|
path: /metrics
|