Interview Prep/Kubernetes/Deployments and rollouts

A Deployment rollout hits `ProgressDeadlineExceeded`. What does it mean and what do you do?

AdvancedScenarioDeployments and rollouts
Answer

Situation read → The Deployment condition Progressing=False with reason ProgressDeadlineExceeded after 600s by default.

What I'd do →

  1. kubectl describe deploy web and read Conditions
  2. Find the blocking pods and read their events and logs
  3. Remember the controller does not roll back by itself; run kubectl rollout undo if needed
  4. Tune progressDeadlineSeconds if the app genuinely needs longer to start
  5. In CI use kubectl rollout status --timeout=5m to fail the pipeline

Why → The deadline only marks the rollout as failed for tooling; Kubernetes keeps trying and leaves the half-rolled state in place.

Interview tip → Distinguish "marked failed" from "rolled back": Kubernetes does neither automatically.

All Kubernetes questions Roadmap: Kubernetes core

More on Deployments and rollouts