Zero-downtime deploys need a readiness gate: do not send traffic to a pod that is not ready
A new instance that accepts traffic before its caches are warm, its migrations are done, or its dependencies are reachable will fail the very requests it was deployed to serve.
Try this:
1. Make readiness fail until the instance can genuinely serve a request, and keep liveness separate so a slow start does not trigger a restart loop.
2. Drain old instances before stopping them, so in-flight requests finish instead of being cut off mid-flight.
3. Roll out in small steps and watch the new instances' error rate before the next batch, so a bad deploy stops itself early.
Example: a deploy that sent traffic the moment the container started produced five minutes of errors on every release until a readiness probe was added.
Source: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
This is the kind of judgement the TPBOK standard (https://iictp.org/standards/tpbok) treats as core practitioner work, and IICTP's CTP exam (https://iictp.org/certifications/ctp) tests with scenario questions. Contour is run by IICTP (https://iictp.org/about).
Question for practitioners: What does your readiness check actually verify, and what does it still take on trust?