# Why Do Some Requests Fail During a Kubernetes Rolling Update?

DevFeed: [Why Do Some Requests Fail During a Kubernetes Rolling Update?](<https://devfeed.tech/articles/why-do-some-requests-fail-during-a-kubernetes-rolling-update-99690.md>)

Original publisher: [Read original article](<https://kodekloud.com/blog/requests-fail-kubernetes-rolling-update/>)

Author: Pramodh Kumar M

Published: 2026-10-25T17:30:00Z

Content type: tutorial

Language: en

Sources: [KodeKloud](<https://devfeed.tech/sources/kubernetes-kodekloud-blog-devops-cloud-kubernetes-ai-tutorials-more.md>)

Topics: [zero downtime deployment](<https://devfeed.tech/topics/zero-downtime-deployment.md>), [Deployment Strategies](<https://devfeed.tech/topics/deployment-strategies.md>), [connection draining](<https://devfeed.tech/topics/connection-draining.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [absolute](<https://devfeed.tech/tags/absolute.md>), [can](<https://devfeed.tech/tags/can.md>), [devops](<https://devfeed.tech/tags/devops.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [fail](<https://devfeed.tech/tags/fail.md>), [failed](<https://devfeed.tech/tags/failed.md>), [failure](<https://devfeed.tech/tags/failure.md>), [follow](<https://devfeed.tech/tags/follow.md>), [graceful-shutdown](<https://devfeed.tech/tags/graceful-shutdown.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kubernetes-rolling-update](<https://devfeed.tech/tags/kubernetes-rolling-update.md>), [leave](<https://devfeed.tech/tags/leave.md>), [nothing](<https://devfeed.tech/tags/nothing.md>), [readiness-probes](<https://devfeed.tech/tags/readiness-probes.md>), [request](<https://devfeed.tech/tags/request.md>), [rolling-update](<https://devfeed.tech/tags/rolling-update.md>), [run](<https://devfeed.tech/tags/run.md>), [sre](<https://devfeed.tech/tags/sre.md>), [take](<https://devfeed.tech/tags/take.md>), [troubleshoot-k8s](<https://devfeed.tech/tags/troubleshoot-k8s.md>), [troubleshooting](<https://devfeed.tech/tags/troubleshooting.md>), [update](<https://devfeed.tech/tags/update.md>), [zero](<https://devfeed.tech/tags/zero.md>), [zero-downtime-deployment](<https://devfeed.tech/tags/zero-downtime-deployment.md>)

## AI overview

Rolling updates can fail requests in two windows: new pods may receive traffic before the app is listening, and terminating pods may stop serving while routing rules still send traffic to them. In a 60-second traffic test, a plain three-replica Deployment had 178 failures; a readiness probe reduced this to 18, and enabling graceful shutdown reduced it to 13. Adding a five-second preStop pause let routing rules catch up before SIGTERM, yielding zero failures in the reported run. The guide recommends tuning that pause to exceed routing delays, including ingress or load balancers, and allowing enough termination grace time for both the pause and open requests. Results depend on the cluster: five seconds was sufficient in the single-node lab, while larger setups may need longer. Long-lived connections require additional draining, and the test opens a new connection for each request.

## Source excerpt

A rolling update can leave a few failed requests behind, even when nothing is broken. Follow one request through a rolling update, then run four experiments that take the failure count to zero.