Deployment goes green in CI but users see 502/503 errors for a minute.
AdvancedTroubleshootingDeployment, Kubernetes and GitOps Failures
Answer
Likely causes → Readiness probe passes too early, load balancer not yet registering pods, missing preStop drain.
Diagnose → Compare pod Ready timestamps to ALB/ingress target health; check ingress logs.
Fix → Fix readiness to reflect real readiness, add preStop sleep and minReadySeconds.
Prevent → Zero-downtime tests in staging with load.
More on Deployment, Kubernetes and GitOps Failures
`kubectl rollout status` hangs: `Waiting for deployment "app" rollout to finish: 1 old replicas are pending termination...`AdvancedPods 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.Intermediate