diff --git a/website/content/en/docs/getting-started/getting-started-with-karpenter/prometheus-values.yaml b/website/content/en/docs/getting-started/getting-started-with-karpenter/prometheus-values.yaml index f7c34fd90dea..aff5a65944c1 100644 --- a/website/content/en/docs/getting-started/getting-started-with-karpenter/prometheus-values.yaml +++ b/website/content/en/docs/getting-started/getting-started-with-karpenter/prometheus-values.yaml @@ -15,6 +15,8 @@ extraScrapeConfigs: | names: - kube-system relabel_configs: - - source_labels: [__meta_kubernetes_endpoint_port_name] - regex: http-metrics + - source_labels: + - __meta_kubernetes_endpoints_name + - __meta_kubernetes_endpoint_port_name action: keep + regex: karpenter;http-metrics diff --git a/website/content/en/preview/getting-started/getting-started-with-karpenter/prometheus-values.yaml b/website/content/en/preview/getting-started/getting-started-with-karpenter/prometheus-values.yaml index f7c34fd90dea..aff5a65944c1 100644 --- a/website/content/en/preview/getting-started/getting-started-with-karpenter/prometheus-values.yaml +++ b/website/content/en/preview/getting-started/getting-started-with-karpenter/prometheus-values.yaml @@ -15,6 +15,8 @@ extraScrapeConfigs: | names: - kube-system relabel_configs: - - source_labels: [__meta_kubernetes_endpoint_port_name] - regex: http-metrics + - source_labels: + - __meta_kubernetes_endpoints_name + - __meta_kubernetes_endpoint_port_name action: keep + regex: karpenter;http-metrics diff --git a/website/content/en/v0.33/getting-started/getting-started-with-karpenter/prometheus-values.yaml b/website/content/en/v0.33/getting-started/getting-started-with-karpenter/prometheus-values.yaml index f7c34fd90dea..aff5a65944c1 100644 --- a/website/content/en/v0.33/getting-started/getting-started-with-karpenter/prometheus-values.yaml +++ b/website/content/en/v0.33/getting-started/getting-started-with-karpenter/prometheus-values.yaml @@ -15,6 +15,8 @@ extraScrapeConfigs: | names: - kube-system relabel_configs: - - source_labels: [__meta_kubernetes_endpoint_port_name] - regex: http-metrics + - source_labels: + - __meta_kubernetes_endpoints_name + - __meta_kubernetes_endpoint_port_name action: keep + regex: karpenter;http-metrics