Added missing pod status in pod lifecycle docs (#12397)

* Added missing pod status in pod lifecycle docs

Added information about `completed` and `CrashLoopBackOff`

* update example of completed status
This commit is contained in:
Barnabas Makonda
2019-02-01 01:22:25 +03:00
committed by Kubernetes Prow Robot
parent c9fc834356
commit 2e0287dd86
@@ -39,6 +39,9 @@ Value | Description
`Succeeded` | All Containers in the Pod have terminated in success, and will not be restarted.
`Failed` | All Containers in the Pod have terminated, and at least one Container has terminated in failure. That is, the Container either exited with non-zero status or was terminated by the system.
`Unknown` | For some reason the state of the Pod could not be obtained, typically due to an error in communicating with the host of the Pod.
`Completed` | The pod has run to completion as there's nothing to keep it running eg. Completed Jobs.
`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](#restart-policy).
## Pod conditions