Add node_exporter relabel for adapter

This commit is contained in:
Stefan Reimer 2020-08-04 01:38:26 +01:00
parent 6707669929
commit 874039f08c
1 changed files with 8 additions and 0 deletions

View File

@ -67,6 +67,14 @@ prometheus-operator:
nodeExporter:
enabled: true
serviceMonitor:
relabelings:
- sourceLabels: [__meta_kubernetes_pod_node_name]
separator: ;
regex: ^(.*)$
targetLabel: node
replacement: $1
action: replace
prometheus:
enabled: true