Concept and mechanism
Start an incident with affected context, namespace, workload, and time interval. The same name can identify different objects; replacing a Pod changes the instance and may lose local evidence. Inspect conditions, events, restarts, and logs for the correct container.
CrashLoopBackOff describes waiting between restarts rather than the original cause. Where available, logs --previous retrieves the previous terminated instance of that container rather than the service’s entire history. Compare error, configuration, and recent change before repeating a destructive action.
Preserve timestamps and keep hypotheses separate from facts. A Running Pod may still lack readiness or fail to produce the result the business expects.
Guided application
During planned maintenance, a PodDisruptionBudget limits applicable voluntary disruption through the Eviction API. It does not prevent involuntary node failures or protect against every direct deletion. A Deployment rollout uses its own availability settings.
In an original exercise, four replicas exist, minAvailable is three, and one is already unavailable: no allowance remains for another voluntary eviction in that state. Investigate the unavailable replica or create validated capacity before continuing the drain.
Removing protection merely to complete maintenance may transfer risk to the service. At RUN handover, deliver health criteria, limits, dependencies, recovery, and ownership; validate a representative operation and backlog rather than only command completion.
Four replicas, three healthy, minAvailable=3: additional maintenance requires restoring headroom.
Common pitfalls
CrashLoopBackOff as cause; previous as a complete archive; PDB as universal protection.
Related topics: Workloads and desired state · Traffic and probes · Resources and scheduling
Recover function and respect observable availability limits.
References
- Disruption budgets and eviction · Kubernetes v1.37 documentation inspected 2026-09-30; installed features and plugin behavior require confirmation
- Current and previous container logs · Kubernetes v1.37 documentation inspected 2026-09-30; installed features and plugin behavior require confirmation
- Pod phases container states and restart behavior · Kubernetes v1.37 documentation inspected 2026-09-30; installed features and plugin behavior require confirmation
- Pod diagnosis using state and events · Kubernetes v1.37 documentation inspected 2026-09-30; installed features and plugin behavior require confirmation