Explain how you would migrate from ingress-nginx to Gateway API with no downtime.
AdvancedScenarioServices, Ingress and DNS
Answer
Situation read → The community ingress-nginx project is being retired and the platform team wants to move on.
What I'd do →
- Install a Gateway API implementation (Envoy Gateway, Cilium, or a cloud controller) alongside ingress-nginx
- Translate Ingress resources to Gateway and HTTPRoute objects (tools like ingress2gateway help)
- Create the new Gateway with its own LB and test with Host headers
- Shift DNS weight gradually from the old LB to the new one
- Remove ingress-nginx after traffic is drained and rollback window passes
Why → Running both in parallel with separate load balancers turns the cutover into a DNS change that can be reversed.
Interview tip → Show awareness that annotations do not translate one-to-one and need review.
More on Services, Ingress and DNS
A Service has no endpoints. How do you find out why?BeginnerWhen do you use ClusterIP, NodePort, LoadBalancer and ExternalName?BeginnerTraffic to a Service works from some pods but times out from others. How do you debug it?AdvancedYou want to expose three HTTP services under one hostname with different paths. How?Intermediateingress-nginx returns 404 for a new host. What do you check?Intermediateingress-nginx returns 502 or 503 intermittently. What are the likely reasons?Intermediate