Interview Prep/Networking/Kubernetes Networking

How do you roll out Ingress controller upgrades with zero downtime?

AdvancedScenarioKubernetes Networking
Answer

Situation read → The Ingress controller is your data plane; treat it like production infrastructure.

What I'd do →

  1. Run at least 3 replicas across AZs with a PodDisruptionBudget
  2. Use maxUnavailable: 0 rolling updates and readiness probes
  3. Add preStop sleep and graceful shutdown so connections drain
  4. Test the new version on a second ingress class and shift via DNS or weighted ALB
  5. Watch 5xx and latency during the rollout

Why → Connection draining and surge capacity keep in-flight requests alive.

Interview tip → Say canary the controller itself, not just the apps behind it.

All Networking questions Roadmap: Networking for DevOps

More on Kubernetes Networking