☸️Kubernetes Pod States (Phases)
Kubernetes Pod States (Phases)
A Pod can be in one of these main states during its lifecycle.
1. Pending
- Pod is created
- Not running yet
- Waiting for:
- a node
- images to pull
- resources
“I exist, but I’m not running.”
2. Running
- Pod is assigned to a node
- Containers are started
- Application is running (or starting)
“I’m running on a node.”
3. Succeeded
- All containers finished successfully
- Common for Job-based Pods
“I finished my work successfully.”
4. Failed
- One or more containers exited with an error
- The Pod will not restart itself
“I failed and stopped.”
5. Unknown
- Kubernetes cannot determine the Pod state
- Usually caused by node communication issues
“I don’t know what’s happening.”
6. Terminating (not an official phase, but important)
- Pod is being deleted
- Graceful shutdown is in progress
“I’m shutting down.”
Important clarifications
- CrashLoopBackOff is not a Pod state
- It is a container status inside a Pod
- Container states ≠ Pod phases
| Pod State | Meaning |
|---|---|
| Pending | Waiting to start |
| Running | Containers running |
| Succeeded | Finished successfully |
| Failed | Finished with error |
| Unknown | State cannot be determined |
| Terminating | Shutting down |
Pod states show where a Pod is in its lifecycle:
waiting, running, finished, failed, unknown, or shutting down.