forked from k-space/kube
prometheus-operator: Add node label to node-exporters
This commit is contained in:
parent
6b65de65d4
commit
310b2faaef
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user