Migrate from Ingress NGINX to the Gateway API. Why and how?

AdvancedScenarioMigrations
Answer

Situation read → The Ingress NGINX controller has been retired by Kubernetes SIG Network (no further fixes after March 2026), and the Gateway API is the successor with clearer role separation and richer routing.

What I'd do →

  1. Pick an implementation: Envoy Gateway, Istio, Cilium, NGINX Gateway Fabric, or the AWS Load Balancer Controller's Gateway API support.
  2. Translate Ingress objects with ingress2gateway, then fix annotations by hand; NGINX-specific annotations (rewrites, auth snippets) don't map automatically.
  3. Platform team owns GatewayClass and Gateway; app teams own HTTPRoute.
  4. Run both controllers in parallel with different load balancers; test via a separate hostname.
  5. Shift DNS per hostname, watch errors, keep the old controller until everything has moved.

Why → Parallel run plus per-hostname DNS cutover keeps rollback trivial.

Interview tip → Mention annotation translation as the real work; the object mapping is the easy part.

All Real-World Interview questions Roadmap: Interview readiness

More on Migrations