From 024897a083125408b18cc5ff5040aac609987c53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Sat, 12 Nov 2022 17:51:59 +0200 Subject: [PATCH] kube-system: Record pod labels with kube-state-metrics --- kube-system/kube-state-metrics.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kube-system/kube-state-metrics.yml b/kube-system/kube-state-metrics.yml index cde0cfd..4e108b2 100644 --- a/kube-system/kube-state-metrics.yml +++ b/kube-system/kube-state-metrics.yml @@ -160,6 +160,8 @@ spec: automountServiceAccountToken: true containers: - image: registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.6.0 + args: + - --metric-labels-allowlist=pods=[*] livenessProbe: httpGet: path: /healthz