`kubectl rollout status` hangs: `Waiting for deployment "app" rollout to finish: 1 old replicas are pending termination...`
AdvancedTroubleshootingDeployment, Kubernetes and GitOps Failures
Answer
Likely causes → New pods not Ready (failing readiness), PDB blocking, long termination grace.
Diagnose →
kubectl get pods -l app=app
kubectl describe pod <new-pod>
kubectl logs <new-pod> --previous
Fix → Fix the probe or app startup issue; adjust terminationGracePeriodSeconds.
Prevent → Set progressDeadlineSeconds so the pipeline fails fast.
More on Deployment, Kubernetes and GitOps Failures
Pods in `CrashLoopBackOff` right after deploy.Beginner`ImagePullBackOff` with `manifest for registry/app:1.4.2 not found`.BeginnerHelm: `Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress`.AdvancedHelm: `Error: rendered manifests contain a resource that already exists. Unable to continue with install`.IntermediateArgo CD app stuck `Progressing` forever.IntermediateArgo CD: `ComparisonError: rpc error: ... failed to generate manifest ... helm template ... error`.Intermediate