mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/node-problem-detector] Add relabelings to include node label (#17124)
Signed-off-by: Patrick Harböck <patrick.harboeck@tngtech.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
30601fd80b
commit
572b464ac1
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: node-problem-detector
|
||||
version: "1.5.2"
|
||||
version: "1.6.0"
|
||||
appVersion: v0.7.0
|
||||
home: https://github.com/kubernetes/node-problem-detector
|
||||
description: Installs the node-problem-detector daemonset for monitoring extra attributes on nodes
|
||||
|
||||
@@ -23,4 +23,13 @@ spec:
|
||||
- port: exporter
|
||||
path: /metrics
|
||||
interval: 60s
|
||||
relabelings:
|
||||
- action: replace
|
||||
targetLabel: node
|
||||
sourceLabels:
|
||||
- __meta_kubernetes_pod_node_name
|
||||
- action: replace
|
||||
targetLabel: host_ip
|
||||
sourceLabels:
|
||||
- __meta_kubernetes_pod_host_ip
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user