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 →
- Run at least 3 replicas across AZs with a PodDisruptionBudget
- Use
maxUnavailable: 0rolling updates and readiness probes - Add
preStopsleep and graceful shutdown so connections drain - Test the new version on a second ingress class and shift via DNS or weighted ALB
- 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.
More on Kubernetes Networking
Explain the Kubernetes networking model in one minute.BeginnerClusterIP, NodePort and LoadBalancer: when do you use each?BeginnerHow does a pod find another service by name?BeginnerService versus Ingress: what is the difference?BeginnerWhat does a CNI plugin do and which ones do you know?BeginnerHow do you reach a pod from your laptop for debugging without exposing it?Beginner