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.

All Real-World Interview questions Roadmap: Interview readiness

More on Live debugging tasks