Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kube_pod_status_phase treats Completed pod as Running #4780

Closed
juzhao opened this Issue Oct 24, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@juzhao
Copy link

juzhao commented Oct 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

  • System information:

uname -srm

Linux 3.10.0-862.14.4.el7.x86_64 x86_64

  • Prometheus version:
    version=2.3.2

prometheus

@simonpasquier

This comment has been minimized.

Copy link
Member

simonpasquier commented Oct 24, 2018

@juzhao

This comment has been minimized.

Copy link
Author

juzhao commented Oct 24, 2018

@juzhao juzhao closed this Oct 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.