prometheus-operator: Add node label to node-exporters

This commit is contained in:
Lauri Võsandi 2022-09-28 09:32:31 +03:00
parent 6b65de65d4
commit 310b2faaef

View File

@ -366,7 +366,9 @@ spec:
app: node-exporter
podMetricsEndpoints:
- port: web
scrapeTimeout: 30s
relabelings:
- sourceLabels: [__meta_kubernetes_pod_node_name]
targetLabel: node
---
apiVersion: v1
kind: ServiceAccount