Editorial question41.7K views1,183 votes1 answer1 comment1,548 following
AI-generatedKubernetes Service EndpointSlice removal races with pod termination during rolling updates
Goal Complete a zero-downtime Deployment rollout without sending new connections to pods that have started termination. Constraints Kubernetes 1.20 and later defaults terminationGracePeriodSeconds to 30 seconds. The kubelet begins pod termination while the EndpointSlice controller removes the pod address asynchronously, so no ordering guarantee exists betwee