diff --git a/k8s/monitoring/values-production.yaml b/k8s/monitoring/values-production.yaml index 557d3c9..f7ded46 100644 --- a/k8s/monitoring/values-production.yaml +++ b/k8s/monitoring/values-production.yaml @@ -1,5 +1,18 @@ # Helm chart values for Prometheus Operator with HTTPS and basic auth kube-prometheus-stack: + nodeExporter: + enabled: true + serviceMonitor: + enabled: true + relabelings: + - sourceLabels: [__meta_kubernetes_pod_node_name] + targetLabel: instance + action: replace + # Optional Rule 2: If the original IP address needs to be retained + # as a separate label (e.g., 'ip_address'), this rule can be added: + - sourceLabels: [__address__] + targetLabel: ip_address + action: replace prometheus: ingress: enabled: true