diff --git a/charts/kubezero-metrics/values.yaml b/charts/kubezero-metrics/values.yaml index c755fd5c..51dab7a9 100644 --- a/charts/kubezero-metrics/values.yaml +++ b/charts/kubezero-metrics/values.yaml @@ -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