Prometheus kube_pod_container_status_waiting_reason not capturing pod CrashLoopBackOff reason
You are running into this. Basically, it looks like you are using kube-state-metrics 1.2.0
or earlier. You see that ImagePullBackOff
and CrashLoopBackOff
was added in 1.3.0
.
So update your image to:
k8s.gcr.io/kube-state-metrics:v1.3.0quay.io/coreos/kube-state-metrics:v1.3.0
or
k8s.gcr.io/kube-state-metrics:v1.4.0quay.io/coreos/kube-state-metrics:v1.4.0