update NR config for kube metrics

This commit is contained in:
2024-09-07 15:22:44 +10:00
parent f58d2c7e5b
commit 1f89ccfae6

View File

@@ -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