Kubernetes Pod Lifecycle: Pending, Running, CrashLoop and Termination
The Kubernetes pod lifecycle moves a Pod through Pending, Running, and then Succeeded or Failed, while each container cycles through Waiting, Running, and Terminated. Read phase, container state, and conditions together, and most stuck-Pod mysteries turn into one clear next check.
Introduction
The Kubernetes pod lifecycle is the path a Pod takes from acceptance by the cluster to a terminal outcome. A Pod starts Pending, becomes Running once bound to a node with containers created, and ends Succeeded or Failed when its containers finish and will not restart.
Consider an illustrative composite scenario, not a named outage. A team ships a routine rollout and three symptoms appear at once: one new Pod sits Pending, another shows Running with zero ready replicas behind it, and a third loops through restarts while old Pods hang in Terminating long enough to drop a few requests. The on-call engineer treats them as three unrelated bugs. They are not. Each symptom is one stage of the same state machine failing at a different joint: scheduling, readiness, restart policy, and shutdown. Once you can name the stage, the next command stops being a guess.
5-minute takeaway. Run kubectl get pod -o wide to see phase and node, then kubectl describe pod to read container states, last terminated reasons, and events. Phase tells you the stage, container state tells you the stuck part, and events tell you who complained last: scheduler, kubelet, or the application itself. For shutdown problems, check whether the process handles SIGTERM as PID 1 and whether the grace period covers preStop plus real draining time. That short sequence resolves most lifecycle confusion before you touch any YAML.
This is lesson six in Module 3 of the Kubernetes Roadmap Series. The previous post, First Kubernetes Deployment: Imperative vs Declarative, covered how a Deployment creates Pods in the first place. This lesson follows those Pods after creation. The next post moves on to Jobs and CronJobs for batch workloads; you can preview where it sits in Module 3 of the Kubernetes roadmap.
1. Kubernetes pod lifecycle: Pod phase is a summary, not a state machine
In the Kubernetes pod lifecycle, Pod phase is a short summary stored in status.phase, not a complete state machine. The five values are Pending, Running, Succeeded, Failed, and Unknown. Phase tells you the broad stage, while container states and Pod conditions tell you exactly where work is stuck.
That distinction sounds academic until it costs you an hour. Engineers often read the STATUS column from kubectl get pods and treat words like CrashLoopBackOff, ImagePullBackOff, Init:0/1, or Terminating as phases. They are display hints that kubectl derives from container states, conditions, and deletion metadata. The API only stores five phase values, and Kubernetes guards their meanings tightly. If you debug from the display word alone, you will chase symptoms. If you debug from phase plus container state plus conditions, you will find the layer that actually failed.
Use this decision table as the map for the rest of the article. Each row gives the phase, what it really means, the container-level clues that refine it, and the first check worth running.
| Pod phase | What it means | Container clues to read next | First check |
|---|---|---|---|
| Pending | Accepted by the cluster, containers not set up and ready to run | PodScheduled condition, waiting reasons, init container progress | kubectl describe pod events for scheduling and pull failures |
| Running | Bound to a node, containers created, at least one running, starting, or restarting | Each container state, restartCount, Ready condition | Container states and probe events, not phase alone |
| Succeeded | All containers terminated successfully and will not restart | Terminated exit codes of zero | Confirm the workload was meant to finish, as with a Job |
| Failed | All containers terminated and at least one failed or was terminated by the system | Terminated reasons and exit codes | Last terminated reason, then previous logs |
| Unknown | Pod state could not be obtained, usually node communication trouble | Node readiness and kubelet reachability | Node conditions before application debugging |
Notice what the table does not contain: a row for Terminating. Deletion is tracked through a deletion timestamp and a grace period, while the phase moves toward a terminal value as containers stop. Terminating is something kubectl shows you, not a sixth phase the API stores. The same logic applies to CrashLoopBackOff, which is a container waiting reason inside a Pod whose phase is typically Running. Keep those categories separate and half of all Pod debugging arguments disappear.
2. Kubernetes pod lifecycle in Pending: scheduling, binding, and setup
Pending in the Kubernetes pod lifecycle means the cluster accepted the Pod but its containers are not set up and ready to run. That window covers waiting for the scheduler to bind the Pod to a node, plus node-side setup such as downloading images and preparing volumes.
Pending therefore has two very different halves. In the first half, the Pod has no node yet. The API server has stored the Pod object, and kube-scheduler is trying to find a node that satisfies resource requests, node selectors, affinity rules, taints and tolerations, topology constraints, and volume binding requirements. If no node fits, the Pod stays Pending and the scheduler records FailedScheduling events that name the reason per node. Those events are the diagnosis; reading them beats staring at the phase.
In the second half, the Pod is bound to a node but still not ready to run containers. Kubelet on that node must pull images, create the Pod sandbox, mount volumes, fetch secrets and config, and run init containers in order. All of that time still counts as Pending. This is why a Pod can show a node name in kubectl get pod -o wide and still be Pending: binding finished, setup did not.
The practical split is simple. If the PodScheduled condition is false, you have a scheduling problem: requests too large for any node, a selector that matches nothing, an untolerated taint, or a persistent volume claim that cannot bind. If PodScheduled is true but the Pod remains Pending, you have a node-side setup problem, and kubelet events about image pulls, volume mounts, or init containers will say which one. Two different owners, two different fixes, one shared phase word. That is exactly why phase alone is never enough evidence.
A common trap is treating Pending as a slow version of Running and simply waiting. Scheduling failures do not heal with patience unless cluster capacity or constraints change. Read the event text, fix the constraint or the request, and watch the condition flip. Pending is a diagnosis prompt, not a loading spinner.
3. Kubernetes pod lifecycle when containers wait: image pulls, init, and secrets
Containers wait inside the Kubernetes pod lifecycle when kubelet cannot start them yet, even after the Pod is bound to a node. Common waiting reasons include image pulls in progress, init containers still running, missing secrets or config, and sandbox or volume setup that has not finished.
Waiting is a container state, and the reason field is where the truth lives. ContainerCreating means kubelet is still assembling the sandbox, network, and mounts. ImagePullBackOff and ErrImagePull mean the image could not be fetched, which is a registry, credential, name, or network problem rather than an application problem. Init containers show their own progress because application containers do not start until every init container completes successfully. A Pod stuck at Init:0/1 is not broken in the same way as a crashing app; its preparation step never finished.
This article deliberately stops at the boundary of those fixes. Registry authentication, pull secrets, rate limits, TLS, and DNS failures have their own runbook in Kubernetes ImagePullBackOff troubleshooting, and you should use it once the waiting reason points at image pulls. The lifecycle skill is recognising which waiting reason you have and routing yourself to the right fix, not memorising every registry error from first principles.
Missing configuration produces a quieter version of the same stall. If a Pod references a Secret or ConfigMap that does not exist in its namespace, kubelet cannot build the container environment or mounts, and events will report the missing object by name. The fix is boring and fast once you read the event: create the object, correct the name, or fix the namespace. Guessing at application code while kubelet is waiting for a Secret wastes the whole incident.
Init containers deserve the same respect. They run to completion before application containers start, they can fail and restart according to the Pod restart policy, and their logs are separate from the main container logs. When a Pod seems frozen before startup, check init container states and logs first. Many "application never starts" reports are really "migration init container cannot reach the database" reports wearing a disguise.
4. Kubernetes pod lifecycle in Running: what Running does and does not prove
Running in the Kubernetes pod lifecycle means the Pod is bound to a node, its containers have been created, and at least one container is running, starting, or restarting. Running does not prove the application is healthy, ready for traffic, or even staying up between restarts.
Read that definition again, because it is weaker than most engineers assume. A Pod enters Running when its containers have been created and at least one is running or in the process of starting or restarting. A container that crashes every few seconds still satisfies that description between restarts. So does a container that started successfully but cannot serve traffic because its readiness probe keeps failing. Running is a statement about container existence, not about service health.
The Ready condition carries the health signal that phase withholds. A Pod is Ready when its containers are ready to serve, which for containers with readiness probes means those probes are passing. Services route traffic to ready endpoints, so a Running-but-not-Ready Pod receives no normal Service traffic. During incidents, "the Pod is Running" should trigger the follow-up question "and is it Ready?" every single time. The gap between those two answers is where a large share of production confusion lives.
Restart count is the third number to read beside phase and readiness. A Running Pod with a restart count that climbs every minute is a failing workload wearing a reassuring phase label. A Running Pod with zero restarts, Ready true, and stable probe results is genuinely healthy. Train yourself to read the trio together: phase for stage, readiness for traffic eligibility, restarts for stability. Any one of them alone will mislead you under pressure.
5. Kubernetes pod lifecycle and container states: Waiting, Running, Terminated
Container state refines the Kubernetes pod lifecycle because each container is tracked separately as Waiting, Running, or Terminated. A Pod can sit in Running phase while one container waits in CrashLoopBackOff, another runs normally, and a finished init container already shows Terminated with a zero exit code.
Each state carries evidence you should read literally. Waiting includes a reason and message that explain why the container is not running yet. Running includes the start time, which tells you how long the current attempt has survived. Terminated includes the exit code, the reason, and start and finish times. Kubelet also preserves the previous terminated state as lastState, which is gold during a restart loop: the current container may be waiting, but lastState records how the previous attempt died.
Exit codes deserve careful reading rather than folklore. A zero exit means the process chose to finish successfully, which is normal for Jobs and init containers but suspicious for a long-running server. Non-zero exits point at application failure, bad configuration, or a missing dependency. A terminated reason of OOMKilled means the kernel killed the process for exceeding its memory limit, which is a resource problem with its own triage in Kubernetes OOMKilled troubleshooting. Signals also surface in exit reporting, so a process stopped by SIGTERM during a rollout tells a different story from one that crashed on its own.
Multi-container Pods make per-container reading non-negotiable. A sidecar can run happily while the main container loops, or the main container can run while a sidecar waits on a missing secret. kubectl get pods compresses all of that into one READY fraction such as 1/2. kubectl describe pod expands it into per-container states. When the fraction is not full, describe is not optional; it is the only view that names the failing container.
There is also a quiet ordering truth here. Init containers run sequentially to completion, then application containers start. Sidecar containers declared as init containers with restart behaviour follow their own ordering rules in newer Kubernetes designs, but the debugging habit stays the same: identify which container is in which state, in which order they were supposed to start, and which one broke the sequence. State per container, read in order, turns a confusing Pod into a short story.
6. Kubernetes pod lifecycle and probes: startup, readiness, and liveness
Probes shape the Kubernetes pod lifecycle by separating started, ready, and alive. A startup probe gates the other probes while a slow application boots, readiness controls whether the Pod receives Service traffic, and liveness tells kubelet to restart a container that has stopped making progress.
Each probe answers a different question, and mixing them up creates outages. Readiness asks whether the container should receive traffic right now. A failing readiness probe removes the Pod from Service endpoints but does not restart anything, which makes it the right tool for temporary overload, dependency warm-up, or graceful draining. Liveness asks whether the container is still capable of making progress. A failing liveness probe makes kubelet kill and restart the container, which is a strong action that should be reserved for genuine deadlock or wedged-process recovery.
Startup probes exist because slow-booting applications need protection from their own liveness checks. While a startup probe has not yet succeeded, kubelet holds off liveness and readiness probing, giving the process time to load caches, run migrations, or warm connections. Without that gate, teams either set liveness delays so large that real failures go undetected, or watch healthy-but-slow containers get restarted mid-boot in a loop that looks exactly like an application crash.
Probe design follows from those mechanics. Make readiness reflect real serving ability, including critical dependency checks only when losing that dependency truly means the Pod should stop receiving traffic. Make liveness cheap, local, and hard to fail accidentally; a liveness probe that depends on a downstream database turns a database outage into a fleet-wide restart storm. Set thresholds from observed boot and recovery behaviour rather than copying numbers from another service. Probes are control signals, and like any control signal, they should be boring, honest, and specific to the process they guard.
Events close the loop. Kubelet records probe failures as events with messages such as readiness probe failed or liveness probe failed, including the probe type and result. When restarts climb, those events tell you whether the application exited by itself or kubelet killed it for failing liveness. Those are different incidents with different owners, and the event stream separates them in seconds.
7. Kubernetes pod lifecycle and restarts: CrashLoopBackOff in context
Restarts loop inside the Kubernetes pod lifecycle when a container terminates and the Pod restart policy tells kubelet to start it again. CrashLoopBackOff is the waiting reason shown while kubelet delays the next restart attempt, which is why the Pod phase usually stays Running during the loop.
Restart policy is the rule that decides whether a terminated container comes back. Always restarts containers regardless of exit outcome and is the policy controllers such as Deployments use for long-running services. OnFailure restarts only after a non-zero exit, which suits batch work that may need another attempt. Never leaves terminated containers alone, which suits one-shot tasks where failure should stay visible. The policy belongs to the Pod, and kubelet enforces it locally on the node without asking the control plane each time.
Backoff is kubelet protecting the node and the cluster from a container that fails instantly. Each failed attempt waits longer before the next try, up to a cap, and the waiting reason during that delay is CrashLoopBackOff. The word describes the delay state, not the root cause. The root cause sits in the previous container's logs, its terminated reason and exit code, or the probe events that killed it. Treating CrashLoopBackOff as the error itself leads engineers to "fix the backoff" instead of fixing the process.
This article owns the placement of that loop in the state machine; the deep fix catalogue lives in Kubernetes CrashLoopBackOff troubleshooting. Use that runbook once you have confirmed the loop: it covers reading exit codes, separating OOMKilled from application crashes, fixing liveness probes that kill healthy processes, and working through kubectl logs --previous systematically. Your lifecycle job here is narrower and faster: confirm the container terminates, confirm the policy restarts it, read lastState, and then hand off to the right runbook with evidence in hand.
One more distinction saves time. A container that exits cleanly with code zero under an Always policy will also restart, producing a loop that looks like a crash but is really a process finishing its work and being told to run again. That pattern usually means a batch-style command was deployed as a long-running service, or an entrypoint script completed instead of exec-ing the server. The exit code tells you which story you are in before you read a single log line.
8. Kubernetes pod lifecycle endings: Succeeded, Failed, and Unknown
The Kubernetes pod lifecycle ends in Succeeded when every container terminated successfully and will not restart, or Failed when all containers terminated and at least one failed. Unknown is different: Kubernetes could not obtain the Pod state, usually because communication with the node is broken.
Succeeded is the healthy ending for work that is supposed to finish. Jobs, init containers inside a Pod that later runs, and one-shot tasks all aim for terminated containers with zero exit codes and no restart. A Succeeded Pod is not deleted automatically; it remains as evidence until garbage collection or the owning controller cleans it up. For a Deployment-managed Pod, Succeeded should make you suspicious, because a long-running service that exits cleanly and stays finished usually means the process completed work it was never meant to complete.
Failed is the terminal outcome when containers end in failure and the restart policy does not bring them back. That happens when a container exits non-zero under a Never policy, when OnFailure exhausts its restart behaviour through controller-level limits such as a Job backoff limit, or when the system terminates the Pod for reasons such as eviction. The terminated reason and message carry the specifics, including eviction and node-pressure explanations that never appear in application logs.
Unknown deserves its own mental bucket because it is not really about the Pod at all. It means the control plane could not obtain the Pod state, typically because the node stopped reporting. The application might be running fine, dead, or unreachable; Kubernetes honestly does not know. Debug the node first: node readiness conditions, kubelet health, and network reachability. Restarting application containers in response to Unknown is treating a telemetry failure as an application failure.
Controllers complicate endings in a healthy way. A Deployment does not resurrect a Failed Pod; it creates a replacement Pod and lets the failed one be cleaned up. A Job tracks failed attempts against its limits and creates new Pods until success or exhaustion. So a terminal phase is the end of one Pod object, not necessarily the end of the workload. Which controller owns that replacement behaviour, and when each controller type fits, is covered in Deployment vs StatefulSet vs DaemonSet.
9. Kubernetes pod lifecycle termination: deletion, endpoints, and grace period
Termination in the Kubernetes pod lifecycle starts when deletion is requested and the API server records a deletion timestamp with a grace period. The Pod stops counting as a healthy replica, its Service endpoints are marked not ready, and kubelet begins the local shutdown sequence on the node.
Deletion is a request with a deadline, not an instant kill. When you delete a Pod, or a controller scales down or rolls out a replacement, the API server sets deletionTimestamp and records how long the Pod may take to stop. From that moment the Pod is terminating: controllers stop counting it toward desired replicas, so replacements can start, and its endpoints are updated so Services stop sending it new traffic. Two systems then work in parallel: the control plane withdraws the Pod from service, and kubelet on the node shuts the containers down.
That parallelism creates the classic dropped-request race. Endpoint updates take a short time to reach every proxy, load balancer, and client cache. If the application exits the instant it is told to stop, a request already routed toward it can arrive at a closed port. Graceful shutdown design exists to close that gap: give endpoint withdrawal a moment to propagate, keep serving in-flight work briefly, then exit cleanly. The preStop sleep pattern in the next section is the blunt but effective version of that idea.
Finalizers can hold a terminating Pod in place. A finalizer is a marker that says some cleanup must finish before the object disappears, such as releasing external resources. While a finalizer remains, the Pod object persists with its deletion timestamp set. A Pod stuck Terminating for a long time is often waiting on a finalizer whose controller is down, slow, or failing, or on a kubelet that cannot complete container teardown. Read the Pod YAML for finalizers and deletion timestamp before blaming the application.
Force deletion exists and should stay rare. Deleting with a zero grace period and force removes the Pod object from the API server without waiting for kubelet confirmation. The containers may still be running on the node, now invisible to normal tooling. That trade is acceptable when a node is truly gone and the workload must move, but it is a bad habit for routine stuck Pods. Diagnose the finalizer, the kubelet, or the node first; reach for force only when you can state what you are abandoning.
10. Kubernetes pod lifecycle shutdown: preStop, SIGTERM, and SIGKILL
Graceful shutdown in the Kubernetes pod lifecycle runs any preStop hook first, then sends SIGTERM to the container main process, and sends SIGKILL only if the process is still running when the grace period expires. The countdown includes preStop time, so hooks and application draining share one budget.
The ordering matters more than most teams realise. Kubelet runs the preStop hook and waits for it to complete before asking the runtime to stop the container. Only then does the runtime send the stop signal, normally SIGTERM, to the main process in the container. The grace period clock, however, started when termination began, not when SIGTERM arrived. A long preStop hook therefore eats directly into the time the application has left to drain connections and exit. Size terminationGracePeriodSeconds as hook time plus drain time plus margin, never as drain time alone.
Signal delivery has its own failure mode: PID 1. The stop signal goes to the main process of the container. If your image starts the application through a shell script that does not exec the server or forward signals, the shell receives SIGTERM and the application never hears it. The Pod then burns the full grace period and dies by SIGKILL mid-request. The fix belongs in the image: exec the server so it becomes PID 1, or run a proper init that forwards signals, and make the application handle SIGTERM by stopping new work, finishing in-flight requests, and exiting.
This example combines the pieces: a startup probe for slow boots, readiness and liveness probes with separate jobs, a short preStop delay for endpoint propagation, and a grace period sized to cover both.
Two caveats keep this honest. The preStop sleep needs a shell and a sleep binary in the image; minimal images may not have either, so test the hook in the real image rather than assuming it runs. And a sleep hook only buys propagation time; it does not drain anything by itself. Draining is application behaviour triggered by SIGTERM handling. The hook and the handler solve different halves of the same shutdown, and production services usually need both.
SIGKILL is the end of negotiation. It cannot be caught, blocked, or handled, and whatever the process was doing stops immediately. If your shutdown regularly reaches SIGKILL, the grace period is too short, the hook is too long, the signal never reaches the application, or the application ignores it. Each cause has a different fix, and the termination timeline tells you which one you have: full-grace-period terminations point at signal handling, while fast terminations with dropped requests point at propagation and draining.
11. Kubernetes pod lifecycle troubleshooting: phase, state, events, and logs
Troubleshooting the Kubernetes pod lifecycle works best in a fixed order: read the phase, read each container state and last terminated reason, then read events and previous logs. That order maps the symptom to scheduling, image pull, startup, probe, memory, or termination layers without guessing.
Start every investigation with the same three commands, then branch based on evidence:
The first command gives phase, readiness fraction, restart count, age, and node. The second gives conditions, per-container states with reasons and exit codes, probe configuration, and the event stream in time order. The third gives the previous container instance's output, which is where crash causes live after a restart. For a sharper view of the raw status fields, the JSONPath patterns in the kubectl Master Guide help you pull phase, conditions, and container states without scrolling.
Use this matrix to route from what you see to the layer that owns the fix:
| What you see | Phase and state pattern | Likely layer | Next evidence to read |
|---|---|---|---|
| Pending, no node assigned | Phase Pending, PodScheduled false | Scheduling constraints or capacity | FailedScheduling events naming the unmet constraint |
| Pending, node assigned | Phase Pending, container Waiting | Image pull, volumes, secrets, or init containers | Waiting reason and kubelet events |
| Running, 0/1 ready, restarts climbing | Phase Running, container Waiting with CrashLoopBackOff | Application exit, probe kill, or memory limit | lastState exit code, previous logs, probe events |
| Running, 0/1 ready, restarts stable | Phase Running, container Running, Ready false | Readiness probe or dependency readiness | Readiness probe failure events |
| Running, 1/1 ready, requests failing | Phase Running, Ready true | Service, endpoints, or application logic | EndpointSlice entries and application metrics |
| Terminating for minutes | Deletion timestamp set, containers stopping slowly | Finalizer, signal handling, or node trouble | Finalizers in Pod YAML, grace period, node conditions |
| Unknown | Phase Unknown | Node communication | Node readiness conditions before Pod debugging |
Notice how the matrix refuses to treat the display word as the diagnosis. Two Pods can both read Running while needing opposite responses: one needs a readiness fix, the other needs a crash fix. Two Pending Pods can need a scheduler fix or a registry fix. The phase narrows the search space; container state, conditions, and events finish the job. Engineers who internalise that order debug faster than engineers who memorise error strings, because the order works on failures they have never seen before.
Keep evidence before you change anything. Save the describe output and previous logs before deleting or restarting a Pod, because a replacement Pod erases the scene. Under incident pressure that discipline feels slow, yet it is what separates a five-minute fix from a recurring mystery. The lifecycle state you capture is the incident record; treat it that way.
12. Kubernetes pod lifecycle checklist for production workloads
A production-ready Kubernetes pod lifecycle setup makes every transition observable and every shutdown survivable. Set honest probes, size the termination grace period for real draining work, handle SIGTERM in the application process itself, and alert on restart rate and readiness rather than phase alone.
Work through this checklist for any service you run on Kubernetes:
- Requests are honest, so Pending Pods mean real capacity or constraint problems, not scheduling noise.
- Selectors, affinity, and tolerations are tested, so a Pod never waits forever for a node that cannot exist.
- Init containers are observable, with logs you can read when startup stalls before the main container.
- Startup, readiness, and liveness probes have separate jobs, and liveness never depends on downstream systems.
- The image execs the server as PID 1, or forwards signals correctly, and the application handles SIGTERM by draining in-flight work.
- terminationGracePeriodSeconds covers preStop time plus measured drain time plus margin.
- Finalizers have owners who monitor them, so terminating Pods never wait on a dead controller unnoticed.
- Alerts watch restart rate, readiness, and time spent Pending or Terminating, not phase alone.
- Dashboards show phase, container state, and conditions together, so the first responder sees the whole state machine at once.
The deeper habit behind the checklist is reading Pods the way Kubernetes tracks them: phase for the stage, container state for the stuck part, conditions for readiness truth, and events for the story of who complained and when. Teams that debug in that order stop arguing about whether a Pod is "really running" and start fixing the layer that actually failed. The lifecycle is not trivia for interviews; it is the map of every workload failure you will ever meet on this platform.
Carry that map into the rest of Module 3. Controllers create Pods, probes gate their traffic, restart policies decide their second chances, and termination rules decide how cleanly they leave. Once the lifecycle is clear, Jobs and CronJobs in the next lesson become a variation on the same theme: containers that are supposed to finish, and a controller that judges the ending.
Frequently Asked Questions
What is the Kubernetes pod lifecycle?
The Kubernetes pod lifecycle is the path a Pod takes from acceptance by the cluster to a terminal outcome. The Pod starts Pending, becomes Running once bound to a node with containers created, and ends Succeeded or Failed when its containers finish and will not restart.
What are the five phases in the Kubernetes pod lifecycle?
The five Pod phases are Pending, Running, Succeeded, Failed, and Unknown. Pending means accepted but not set up, Running means bound to a node with containers created, Succeeded and Failed are terminal outcomes, and Unknown means the Pod state could not be obtained.
What is the difference between Pod phase and container state in the Kubernetes pod lifecycle?
Pod phase is one summary value for the whole Pod, stored in status.phase. Container state is tracked per container as Waiting, Running, or Terminated, with reasons, exit codes, and restart counts. Phase gives the stage; container state names the exact part that is stuck.
Is CrashLoopBackOff a phase in the Kubernetes pod lifecycle?
No. CrashLoopBackOff is a container waiting reason that kubelet shows while it delays the next restart attempt after repeated terminations. The Pod phase during that loop is usually Running, because the containers have been created and at least one is starting or restarting.
Why does a Pod stay Pending in the Kubernetes pod lifecycle?
A Pod stays Pending either because no node satisfies its scheduling constraints, or because node-side setup has not finished. Check the PodScheduled condition first, then read events: FailedScheduling points at constraints or capacity, while image pull, volume, secret, or init container events point at setup.
Can a Pod be Running but not Ready in the Kubernetes pod lifecycle?
Yes. Running means containers exist and at least one is running, starting, or restarting. Ready means the containers pass readiness checks and can receive Service traffic. A Running Pod with a failing readiness probe stays out of Service endpoints until the probe passes.
What happens during termination in the Kubernetes pod lifecycle?
Deletion records a timestamp and grace period, endpoints stop sending the Pod new traffic, and kubelet runs any preStop hook before sending SIGTERM to the container main process. If the process is still running when the grace period expires, kubelet sends SIGKILL and the Pod is removed.
Preparing for Senior Platform & SRE Interviews
Practice real-world cluster triage, RBAC debugging, and pod scheduling scenarios in our Kubernetes scenario interview questions hub.
Explore Interview Scenarios →