- The lifecycle of a Pod goes through several phases
- Pending: In this phase, the Kubernetes scheduler assigns a Pod to the node and downloads container images over the network. As one or more containers have yet to be set up, it’s in pending state.
- Running: Once the Pod has been scheduled to a node and the container(s) within it are started, it enters the running phase.
- Succeeded: If the containers within the Pod complete their tasks successfully and terminate (Init Containers), the Pod enters the succeeded phase.
- Failed: If any container within the Pod terminates with a non-zero exit code, the Pod enters the failed phase indicating that the containers within the Pod did not complete their tasks successfully.
- Unknown: If the Pod’s status cannot be determined, it is marked as unknown. This might occur due to an issue communicating to Kubernetes API or node where the Pod should run.
⬅️ Init Containers | Pod Conditions ➡️