DISCUSSION

releaseLinkdev.to ↗

Requests that fail after a Kubernetes rollout has finished

70 timeouts in 28,505 requests kept arriving after kubectl rollout status said done. Across six pod setups, only a preStop sleep plus a drain got both client types to zero.

DEV Community title card reading “Requests that fail after a Kubernetes rollout has finished”, by Remdore

Why we picked it · the editor's summary

A follow-up to the maxUnavailable: 0 test, and a correction: on a kind cluster, a client that opens a new connection per request still saw 70 timeouts in 28,505 requests after kubectl rollout status reported done, none after about 120 seconds. The author's likely cause, stated as unproven, is conntrack entries left pointing at deleted pods by connections opened during the termination race. Across six pod setups, only a preStop sleep plus a SIGTERM drain that sends Connection: close reached zero failures for both keep-alive and fresh-connection clients. Tested only with iptables kube-proxy; keep charting error rates after the rollout, because rollout status only says the new pods are ready.

Read on DEV Community ↗8m read

Comments

Loading comments…

Back to all articles