Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upkube_pod_status_phase treats Completed pod as Running #4780
Comments
This comment has been minimized.
This comment has been minimized.
|
Shouldn't this be moved to https://github.com/kubernetes/kube-state-metrics? |
simonpasquier
added
the
kind/more-info-needed
label
Oct 24, 2018
This comment has been minimized.
This comment has been minimized.
|
@simonpasquier |
juzhao
closed this
Oct 24, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
juzhao commentedOct 24, 2018
Bug Report
pods under openshift-infra project
NAME READY STATUS RESTARTS AGE
hawkular-cassandra-1-d9cq5 1/1 Running 0 5h
hawkular-cassandra-2-clwx8 1/1 Running 1 5h
hawkular-metrics-9l2ws 1/1 Running 0 5h
hawkular-metrics-schema-g2k48 0/1 Completed 1 5h
heapster-78gxb 1/1 Running 0 5h
hawkular-metrics-schema pod is created by cron job, and its status is Completed
queried
kube_pod_status_phase{phase="Running",namespace="openshift-infra"}
in prometheus UI.
it treats hawkular-metrics-schema-g2k48 status as Running, not Completed.
Environment
uname -srm
Linux 3.10.0-862.14.4.el7.x86_64 x86_64
version=2.3.2