April 2018
Beginner
398 pages
10h 11m
English
We have learned earlier in this book that containers have a life cycle. A container is initialized, run, and ultimately exited. When a container exits, it can do this gracefully with an exit code zero or it can terminate with an error, which is equivalent to a nonzero exit code.
Similarly, a pod has a life cycle. Due to the fact that a pod can contain more than one container, this life cycle is slightly more complicated than the one of a single container. The life cycle of a pod is sketched in the following diagram:

When a pod is created on a cluster node, it first enters into pending status. Once ...
Read now
Unlock full access