CatherineF-dev
CatherineF-dev
> I guess a more important question is: why is it being constrained in the first place? Not sure all the reasons. One reason should be constraining metrics cardinality. I...
> I'm curious about the fact that the kube-state-metrics pod is deployed in the lens-metrics namespace instead of kube-system. It's fine that kube-state-metrics pod is deployed in the lens-metrics namespace....
Could you see these pods in metric kube_pod_status_phase?
kube_pod_status_reason only covers limited reasons. kube_pod_status_phase should cover all pods.
Hi @dgrisonnet, do you remember reasons why we expose metrics with value = 0 in https://github.com/kubernetes/kube-state-metrics/issues/2116#issuecomment-1632678128
LGTM. Tests will be triggered.
/ok-to-test
Yes, kube_job_status_failed has reason. https://github.com/kubernetes/kube-state-metrics/blob/9e6e70d328c5d750a0df84cc044c38124b271538/internal/store/job_test.go#L207