From 068747dddf7d29d9526d22e619dde0284c02a7f5 Mon Sep 17 00:00:00 2001 From: Jean-Francois Roy Date: Mon, 13 Jan 2025 10:42:15 -0800 Subject: [PATCH] chore(gpu-operator): relabel instance to node name --- .../apps/gpu-operator/gpu-operator/app/helmrelease.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/kubernetes/apps/gpu-operator/gpu-operator/app/helmrelease.yaml b/kubernetes/apps/gpu-operator/gpu-operator/app/helmrelease.yaml index 352978749..42dcb2fba 100644 --- a/kubernetes/apps/gpu-operator/gpu-operator/app/helmrelease.yaml +++ b/kubernetes/apps/gpu-operator/gpu-operator/app/helmrelease.yaml @@ -58,6 +58,13 @@ spec: dcgmExporter: serviceMonitor: enabled: true + honorLabels: true + relabelings: + - sourceLabels: ["__meta_kubernetes_pod_node_name"] + regex: (.*) + targetLabel: instance + replacement: $1 + action: replace postRenderers: - kustomize: patches: