kube-system: Record pod labels with kube-state-metrics

This commit is contained in:
Lauri Võsandi 2022-11-12 17:51:59 +02:00
parent 18c4764687
commit 024897a083

View File

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