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

Pod status document #12389

Closed
1 of 2 tasks
paralika opened this issue Jan 26, 2019 · 3 comments
Closed
1 of 2 tasks

Pod status document #12389

paralika opened this issue Jan 26, 2019 · 3 comments
Labels
sig/docs Categorizes an issue or PR as relevant to SIG Docs.

Comments

@paralika
Copy link
Contributor

This is a...

  • Feature Request
  • Bug Report

Problem:
There are a couple of pod status, I think, haven't documented. If you see the below example for nginx pod which runs for 10 seconds and terminates.

$ kubectl get pods --watch -o wide
NAME      READY     STATUS             RESTARTS   AGE       IP            NODE      NOMINATED NODE
nginx     0/1       CrashLoopBackOff   12         43m       192.168.2.5   node03    <none>
nginx     1/1       Running   13        44m       192.168.2.5   node03    <none>
nginx     0/1       Completed   13        44m       192.168.2.5   node03    <none>
nginx     0/1       CrashLoopBackOff   13        45m       192.168.2.5   node03    <none>

Proposed Solution:
Please document CrashLoopBackOff and Completed pod status.

Page to Update:
It should be somewhere here:
https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase

@paralika
Copy link
Contributor Author

/sig docs

@k8s-ci-robot k8s-ci-robot added the sig/docs Categorizes an issue or PR as relevant to SIG Docs. label Jan 26, 2019
@makoscafee
Copy link
Contributor

@paralika I think #12397 fixed this issue ... can this be closed?

@paralika
Copy link
Contributor Author

paralika commented Feb 1, 2019

@makoscafee thank you for a fix. I have one query regarding:

CrashLoopBackOff | This means that one of the containers in the pod has exited unexpectedly, and perhaps with a non-zero error code even after restarting due to restart policy.

Event though the pod is completed without any error it is going into CrashLoopBackOff state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/docs Categorizes an issue or PR as relevant to SIG Docs.
Projects
None yet
Development

No branches or pull requests

3 participants