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 →
- Pick an implementation: Envoy Gateway, Istio, Cilium, NGINX Gateway Fabric, or the AWS Load Balancer Controller's Gateway API support.
- Translate Ingress objects with
ingress2gateway, then fix annotations by hand; NGINX-specific annotations (rewrites, auth snippets) don't map automatically. - Platform team owns
GatewayClassandGateway; app teams ownHTTPRoute. - Run both controllers in parallel with different load balancers; test via a separate hostname.
- 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.
More on Migrations
Migrate an application from EC2 to EKS with zero downtime. Walk me through it.AdvancedMigrate a database from on-prem MySQL to Amazon RDS with minimal downtime. How?AdvancedYou need to move Terraform state from local files to an S3 backend. How?BeginnerMigrate CI from Jenkins to GitHub Actions for 80 repositories. How do you plan it?IntermediateUpgrade an EKS cluster from 1.30 to 1.31 in production. What's your process?IntermediateMove from a monolith to microservices. What's the DevOps side of the migration?Advanced