Pods in `CrashLoopBackOff` right after deploy.
BeginnerTroubleshootingDeployment, Kubernetes and GitOps Failures
Answer
Likely causes → App crash on startup (missing env/config/secret), bad command, failing migrations.
Diagnose → kubectl logs <pod> --previous, kubectl describe pod.
Fix → Provide missing config, fix the entrypoint, roll back with kubectl rollout undo.
Prevent → Config validation in CI and canary rollouts.
More on Deployment, Kubernetes and GitOps Failures
`kubectl rollout status` hangs: `Waiting for deployment "app" rollout to finish: 1 old replicas are pending termination...`Advanced`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