From 1f89ccfae6898b1b35793403709f1ac936afffd9 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Sat, 7 Sep 2024 15:22:44 +1000 Subject: [PATCH] update NR config for kube metrics --- infrastructures/newrelic/env/k3s-cluster/values.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infrastructures/newrelic/env/k3s-cluster/values.yaml b/infrastructures/newrelic/env/k3s-cluster/values.yaml index 6291b5b..7b1d2f4 100644 --- a/infrastructures/newrelic/env/k3s-cluster/values.yaml +++ b/infrastructures/newrelic/env/k3s-cluster/values.yaml @@ -17,8 +17,11 @@ nri-metadata-injection: enabled: true kube-state-metrics: + prometheusScrape: false image: tag: v2.10.0 + revisionHistoryLimit: 5 + releaseLabel: true # kube-state-metrics.enabled -- Install the [`kube-state-metrics` chart](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-state-metrics) from the stable helm charts repository. # This is mandatory if `infrastructure.enabled` is set to `true` and the user does not provide its own instance of KSM version >=1.8 and <=2.0. Note, kube-state-metrics v2+ disables labels/annotations # metrics by default. You can enable the target labels/annotations metrics to be monitored by using the metricLabelsAllowlist/metricAnnotationsAllowList options described [here](https://github.com/prometheus-community/helm-charts/blob/159cd8e4fb89b8b107dcc100287504bb91bf30e0/charts/kube-state-metrics/values.yaml#L274) in