Lost requests during a rollout: why Kubernetes returns 502 while the pod is shutting down
A rollout runs through cleanly, every pod is Ready, and yet requests get lost. Why deregistration runs in parallel to the shutdown, why only POST is affected, and how the preStop hook, the grace period and graceful shutdown have to fit together.