Kube-state-metrics: kube_pod_status_reason Not working

Created on 15 Sep 2020  路  2Comments  路  Source: kubernetes/kube-state-metrics

/kind bug

Hello,

I'm trying to expose the kube_pod_status_reason metric to be consumed by prometheus but it is not appearing. I have seen that other experimental metrics do not show, but some do.
The reason I need this metric is to list Evicted pods and I seem to have no other metric like it.

Can you please provide some sort of help?

Thanks

K8s version is 1.18.3
Kube-state-metrics version is 1.9.7

kinbug

Most helpful comment

Hey @DcardosoJS, this metric is not available in 1.9.7 as it was added after the 1.9.0 release.
If you want to start using it, it was recently added to the 2.0.0-alpha pre-release.

All 2 comments

Hey @DcardosoJS, this metric is not available in 1.9.7 as it was added after the 1.9.0 release.
If you want to start using it, it was recently added to the 2.0.0-alpha pre-release.

Hey @DcardosoJS, this metric is not available in 1.9.7 as it was added after the 1.9.0 release.
If you want to start using it, it was recently added to the 2.0.0-alpha pre-release.

Thank you very much! It works :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stevebail picture stevebail  路  8Comments

terinjokes picture terinjokes  路  4Comments

jingzhao-self picture jingzhao-self  路  4Comments

therc picture therc  路  4Comments

derekwaynecarr picture derekwaynecarr  路  4Comments