A Deployment rollout is stuck: "Waiting for deployment rollout to finish: 1 out of 3 new replicas have been updated".
IntermediateHands-onLive debugging tasks
Answer
kubectl rollout status deploy/api --timeout=60s
kubectl get rs -l app=api # new ReplicaSet has pods not Ready
kubectl describe pod -l app=api | grep -E 'Readiness|Warning'
kubectl rollout history deploy/api
kubectl rollout undo deploy/api # mitigate first
Key trick → With maxUnavailable: 0 the rollout waits for the new pod to become Ready. A failing readiness probe (wrong path or port, a dependency down) stalls it safely. Roll back first, then debug.
More on Live debugging tasks
A pod is in CrashLoopBackOff. You have 10 minutes. Walk through your commands.BeginnerThe pod shows `OOMKilled`. Diagnose and fix it.BeginnerA pod is stuck in `ImagePullBackOff`. Fix it.BeginnerA pod is `Pending` forever. What do you check?AdvancedThe Service returns "connection refused" but pods are Running. Debug it.IntermediateA Docker container exits immediately after `docker run -d`. Find out why.Beginner