Migrate from Ingress NGINX to Gateway API

A practical plan for replacing the retired Ingress NGINX controller with Gateway API: what converts, what needs manual design, and how to cut over without an outage.

On this page

Why teams are migrating from Ingress NGINX to Gateway API now

Moving off Ingress NGINX is a controller replacement combined with a conversion of Ingress resources and annotations, and the size of that work depends mostly on how many annotations and custom snippets your clusters use. A cluster with a handful of plain host and TLS rules is a very different project from one where dozens of Ingress objects carry rewrite, authentication, rate limiting and snippet settings. Before you choose a target, count what you actually run. Ask each platform owner which namespaces contain Ingress objects with the ingress class set to nginx, and confirm where every custom ConfigMap that feeds the controller came from.

The work is planning and testing. No single command does it. The ingress2gateway tool can translate many Ingress resources and common annotations into Gateway API objects, but its output is a starting point that needs review against live traffic. Annotations without a direct equivalent must be rebuilt using the features of your chosen implementation, and snippet annotations, which inject raw NGINX configuration, usually have to be redesigned around the behavior they produce. Export your annotation inventory in full, group it by annotation key and by namespace, and mark each entry as converts cleanly, needs a policy decision or needs a rewrite. That list will set your timeline more than any tool will.

The timing matters because Ingress NGINX is retired, so the controller you run today should not be treated as a long-term dependency. Read the project's retirement announcement to confirm what support, if any, remains, and set your own deadline from that statement rather than from assumptions. Gateway API is the successor model, and it splits routing into GatewayClass, Gateway and route objects, which lets platform teams own listeners and certificates while application teams own their routes. Decide early whether you are moving to Gateway API or to another Ingress controller, because that choice determines which conversion path your team follows.

How traffic moves during the parallel run

Client requests enter through one load balancer that routes by DNS or weight. Some requests go to the existing Ingress NGINX controller and others to the new Gateway API controller, and both reach the same Services. The cutover point is the weight change at the load balancer or DNS record, so you should confirm that both controllers serve identical hostnames and TLS certificates before shifting any traffic.

Both controllers forward to the same Services during the cutover window.

Which Ingress NGINX features map cleanly to Gateway API

This table compares common Ingress NGINX features with their closest Gateway API equivalents and marks where a controller-specific policy or a redesign is needed. Read each row as a planning question: if the feature maps cleanly, convert it; if not, decide the replacement before cutover. Annotations without a standard equivalent should be inventoried first, because they are the most common source of silent behavior changes.

FeatureGateway API equivalentConversion outcome
Host and path routing rulesHTTPRoute hostnames and path matches on a Gateway listenerMaps cleanly for exact and prefix paths; confirm regex path behavior with your chosen implementation
TLS certificates from Kubernetes SecretsGateway listener TLS certificateRefs pointing to the same SecretMaps cleanly; confirm which namespaces may reference the Secret and set ReferenceGrant where needed
Redirects (for example, HTTP to HTTPS)HTTPRoute RequestRedirect filterMaps cleanly for standard redirects; check status codes and scheme changes in a test cluster
Path rewrites and header changesHTTPRoute URLRewrite and RequestHeaderModifier filtersMaps for common cases; regex-based rewrite annotations usually need a redesign or a controller-specific policy
Request timeouts and body size limitsTimeouts field on HTTPRoute rules for request timeouts; body size usually has no standard fieldPartial: body size and proxy buffer settings typically need a controller-specific policy or application change
Backend protocol and TLS to upstreamBackendTLSPolicy and appProtocol on Service portsMaps for common cases; confirm backend TLS verification settings against the implementation's support
Authentication annotations (basic auth, external auth)No standard equivalent in core Gateway APINeeds a controller-specific policy, a filter or redesign in the identity layer
Rate limiting and connection limitsNo standard equivalent in core Gateway APINeeds a controller-specific policy or an edge control; inventory the thresholds before conversion
Custom configuration snippets and Lua logicNo standard equivalentRedesign required; these snippets are often the hardest part of the migration and should be reviewed line by line

Which documented tools convert Ingress resources

Conversion for this migration has two sources of truth: a converter that reads existing Ingress objects and emits Gateway API objects, and the documentation of the controller you choose to run them. Neither replaces the other, so the cards below cover what each one produces and what your team must verify.

ingress2gateway converter

ingress2gateway is the documented converter that reads Ingress resources from your cluster or manifest files and emits Gateway API resources such as Gateway and HTTPRoute objects. It is a starting point for the migration, not a finished deployment. Run it against a copy of your manifests first, then compare the output with the live Ingress objects route by route before anything is applied.

Kubernetes repository

Converted and unsupported features

The converter handles standard Ingress fields and maps many common NGINX annotations, but it reports annotations and behaviors it cannot translate. Treat that report as your work list. Typical gaps include custom snippets, rewrite rules, authentication annotations, body size limits and timeouts, so each unsupported item needs a documented replacement or an explicit decision to drop it.

Source controller
Ingress NGINX

Hand review of converted output

Generated Gateway API resources can look correct while changing routing precedence, host matching, TLS references or path semantics. Review each generated route against the original Ingress, check parent Gateway references and listener names, and confirm which namespaces may attach routes. Keep the reviewed manifests in version control so the cutover can be repeated and audited.

Chosen controller documentation

The Gateway API implementation you select defines which parts of the specification it supports and how it expresses features beyond the standard, such as policy attachments or vendor-specific extensions. Use its documentation as the second source of truth for every converted resource. Where the converter output and the controller docs disagree, the controller's behavior on your cluster is what matters, so test it there.

Confirm current converter support

Converter coverage changes as the project and the Gateway API specification evolve, so the list of supported annotations you read today may differ from what a current release handles. Before planning the work, check the ingress2gateway project for its current release, supported input and output versions, and its open issues for your annotations. Record the version you tested so the migration evidence is reproducible.

Choosing a Gateway API implementation for your environment

If your Ingress NGINX rules mostly route HTTP and HTTPS by host and path, with TLS terminated at the gateway, the selection is mainly about standards coverage and operating simplicity. Most of the value you get from Gateway API comes from the core resources (GatewayClass, Gateway, HTTPRoute), so the main question is how well a candidate implements those resources and which extended features it supports for the annotations you are replacing.

  • Core conformance: Check the conformance report for the Gateway API version you plan to run, and confirm the implementation passes the core HTTP tests.
  • Extended features: List every NGINX annotation you rely on, such as rewrites, header manipulation, rate limits or body size limits, and check whether each maps to a standard filter or to a controller-specific policy.
  • Controller-specific resources: Any behavior that lives outside the standard API adds a vendor-specific object that your manifests and GitOps tooling must carry.
  • Operating load: A single controller deployment with a load balancer service is usually the smallest footprint, so ask how upgrades of the controller and its CRDs are sequenced.

Before choosing, write down which annotations are actually in use and confirm each one in the controller documentation rather than assuming equivalence.

How the cutover sequence runs without downtime

The sequence moves production traffic from Ingress NGINX to Gateway API in small, reversible stages, so each stage has a clear go or rollback decision before the next one starts. Timing depends on your environment, cluster count and change windows, so confirm those with your own team before you set dates.

  1. Inventory every Ingress and annotation

    The platform team exports all Ingress objects across namespaces, along with the controller annotations, ConfigMap settings, TLS secrets and any custom snippets they depend on. Each route is tagged with its owner, its hostname, whether it is public or internal, and the traffic it carries. The step is done when every production hostname maps to a named owner and a list of the annotations that need manual handling. Rollback is not applicable here because nothing has changed yet.

  2. Convert resources with ingress2gateway and review

    The team runs ingress2gateway against the exported manifests to produce draft Gateway and HTTPRoute resources, then reviews every output line by line. Annotations that have no direct equivalent, such as custom snippets, auth details and timeout or body size settings, are logged as manual work rather than trusted as converted. The step is done when each draft is reviewed, every unconverted annotation has a decision, and the owners have signed off the converted routes. If the review finds gaps that the tool cannot close, stop here and keep the Ingress resources in service.

  3. Install Gateway API CRDs and the chosen controller

    The platform team installs the Gateway API custom resource definitions at the version your chosen implementation supports, then deploys that controller in its own namespace with its own load balancer address. Ingress NGINX continues to serve production traffic during this step. The step is done when the controller reports ready, the Gateway shows an assigned address and the controller's own health checks pass. Confirm the supported CRD version with the implementation's documentation before installing. If the controller cannot reach a ready state, remove it and leave the existing setup untouched.

  4. Run a parallel check on a staging hostname

    Converted routes are applied on a staging hostname that resolves to the new Gateway, while the production hostname continues to use Ingress NGINX. Test engineers exercise TLS termination, redirects, header handling, authentication flows, timeouts and large request bodies against the staging route, and compare responses with the production behavior. The step is done when the test list passes and every difference is either fixed or documented as accepted by its owner. Roll back by deleting the staging routes, which has no effect on live users.

  5. Shift a canary share of production traffic

    The team sends a small, agreed portion of production traffic to the Gateway, using a DNS or load balancer weight that they can change quickly, and watches error rates, latency, TLS handshake failures and application logs for each route. Owners confirm the behavior from their side. The step is done when the canary runs through the agreed observation period without breaching the thresholds set in advance. Rollback criteria should be written before the shift, for example any rise in 5xx responses, certificate errors or authentication failures, and reverting the weight restores full traffic to Ingress NGINX.

  6. Complete the production cutover

    Once the canary meets its criteria, the team moves the remaining traffic for each hostname to the Gateway, one hostname group at a time, and keeps the Ingress NGINX routes in place as a fallback. Operators confirm that DNS and certificates resolve to the new address and that the owners have accepted the route. The step is done when all production hostnames serve from the Gateway and the dashboards stay within the agreed thresholds. Rollback means pointing the hostname group back at the Ingress NGINX address while the old controller is still running.

  7. Decommission Ingress NGINX and its resources

    After a stable period that the team agrees with the owners, the Ingress NGINX deployment, its service, its ConfigMaps and the remaining Ingress objects are removed, and the change is recorded in the migration log. Backups of the old manifests are kept for an agreed retention period. The step is done when no Ingress objects remain for the migrated hostnames, the controller is gone from the cluster, and monitoring shows no traffic on the old address. Once removed, rollback requires redeploying from those backups, so confirm the decision with the owners before deleting anything.

What buyers ask before moving off Ingress NGINX

How much effort does an Ingress NGINX to Gateway API migration take?

Effort depends mostly on how many Ingress objects, annotations and custom configuration snippets the cluster carries, and how many teams own them. A cluster with a handful of simple host-based routes is a very different job from one with years of annotation-driven behavior spread across namespaces. The conversion tool handles the mechanical part, but each annotation that maps to a Gateway API field, a policy resource or a controller-specific extension still needs a decision and a test. Effort also rises with the number of gateway implementations you must evaluate, the TLS certificate setup and the monitoring that has to be rebuilt. No effort figure is stated here. Ask for one only against a written scope that lists the inventory, the implementation choice and the environments in play.

How long does the traffic cutover window need to be?

The cutover window depends on how traffic reaches the controller, how many routes change at once and how quickly you can roll back. Teams that run the new Gateway alongside the old controller, shift a small set of hostnames first and keep DNS or load balancer targets easy to flip usually need a shorter, more controlled window than teams that replace everything in one change. Factors that lengthen the window include long-lived connections, timeout and body size behavior that differs between controllers, certificate handover and external dependencies that cache DNS. Plan the window around observed behavior in a staging copy of production traffic, not around an assumed duration. Any specific duration should come from the scope agreed in writing.

What does our team need to provide for the migration?

Your team needs to supply a current inventory and access to the environments where the work happens. Typically that includes:

  • Exported Ingress, IngressClass, Service and TLS secret manifests from every cluster in scope
  • A list of annotations and configuration snippets in use, with the owner of each route
  • Cluster admin access for installing the Gateway API CRDs and the chosen implementation
  • DNS, load balancer and certificate authority contacts who can change targets during cutover
  • Staging capacity that resembles production, and a set of representative test requests
  • Named application owners who can confirm expected behavior after each change

Missing owners and undocumented routes are the most common reasons a migration slows down, so confirm them before scoping begins.

Can our own platform team do this migration without a partner?

Yes, a capable platform team can run this migration in-house, and many do. The question is whether the team has time, the Gateway API knowledge and a safe rollback plan for the traffic they serve. The work that tends to stall internal teams is the annotation review, which requires judgment about intent rather than translation, and the cutover, which must be rehearsed. A partner is an option when the internal team lacks capacity, has many clusters, or needs a documented change record for an assessment. DeployOpen plans, implements and documents this kind of work in infrastructure you control under a written, fixed scope, and it can also run only the review or test portion if you prefer to keep the build in-house.

What happens to custom snippets and annotations during conversion?

Standard Ingress fields convert cleanly in most cases, but controller-specific annotations and configuration snippets do not map one to one. The conversion tool can translate some annotations and will flag others, and the flagged items need a manual decision: rebuild the behavior with a Gateway API standard field, use an implementation-specific policy resource, move the logic to an upstream proxy or application, or drop it with sign-off. Snippets that inject raw proxy configuration are the highest risk because they carry no portable meaning and can change security behavior if reproduced carelessly. Review each one against the security owner's requirements, and confirm the exact feature support with the vendor of the implementation you choose.

Which Gateway API implementation should we choose, and who decides?

The choice depends on which features your routes depend on, what your support model requires and the licensing and operational terms of each project. Compare implementations against the specific annotations and behaviors found in your inventory, not against a generic feature list. Confirm current conformance and feature support with each project, since the Gateway API ecosystem changes over time. Decision owners are usually the platform lead and the security owner, with input from application teams that depend on specific timeouts, TLS settings or header handling. The selection should be recorded in the written scope so later work does not drift.

Will the security posture of our routes change after migration?

It can, which is why security review belongs in the plan rather than after cutover. Differences in TLS defaults, header handling, body size limits, rate limiting and authentication integration can change what an attacker or a client experiences. Treat the migration as a change to an internet-facing control: compare TLS configuration and cipher behavior before and after, retest authentication flows, and confirm that any policy you relied on is enforced by the new controller. Records of these checks also support compliance evidence, though DeployOpen prepares that evidence for independent assessors and does not issue audit reports or certifications.

What makes the migration cost more or less

This table lists the factors that move the effort for an Ingress NGINX to Gateway API migration, with the cost type for each and what to ask for in a quote. Read each row as a question to answer about your own cluster before requesting a fixed-scope proposal. The largest swing usually comes from annotations and snippets, because they decide how much behavior must be redesigned rather than converted.

DriverWhy it changes cost or effortOne-time or recurring, and what to ask for
Number of Ingress objects and hostsEach Ingress, host and path needs a generated or hand-checked Gateway API route, and reviewing them takes time in proportion to their count.One-time. Ask the quote to state the count of Ingress objects, hosts and namespaces in scope, and whether conversion output is reviewed line by line.
Annotation count and complexityStandard annotations may convert cleanly, while custom or controller-specific annotations need an equivalent policy, filter or implementation-specific setting, or they are dropped.One-time. Ask for an inventory of every annotation in use and a listed decision (convert, replace, or retire) for each.
Configuration snippetsSnippet annotations inject raw controller configuration, so each one usually needs a manual redesign and testing against the new implementation's behavior.One-time. Ask how many snippets exist, who owns them, and whether the quote includes rewriting and regression testing for each.
TLS certificate handlingMoving certificates to Gateway listeners, changing how secrets are referenced, and checking cert-manager or ACME automation can add work, especially for wildcard and multi-namespace certificates.One-time for the cutover, recurring for renewal checks. Ask who owns issuance and renewal after go-live and how renewal is verified.
Number of environmentsEach environment needs its own conversion review, controller installation, validation and rollback test, so effort grows with the environment count.One-time per environment, with a shared baseline reused where configurations match. Ask whether development, staging and production are scoped separately.
Service mesh or non-HTTP routingTCP, UDP or gRPC routes, and any mesh-level traffic policy, may need separate Gateway API route types or a different implementation, which widens design and testing.One-time design work, with possible recurring operating cost for a mesh. Ask which protocols and mesh features are in scope and which are excluded.
Team Gateway API experienceA team new to Gateway API needs time to learn GatewayClass, Gateway and route ownership, which lengthens review and design. An experienced team can shorten it.One-time. Ask whether knowledge transfer and review sessions are included, and how many of your engineers will work on the cutover.
Cutover and rollback approachRunning both controllers side by side, shifting traffic gradually and keeping a tested rollback path adds steps, but reduces the risk of a broken production cutover.One-time. Ask for the written cutover plan, rollback criteria and the number of traffic shifts the quote assumes.
Ongoing controller operationsThe chosen Gateway API implementation needs upgrades, monitoring and version checks, which continue after the migration ends.Recurring. Ask whether a support retainer is priced separately and which upgrade and monitoring tasks it covers.

What usually goes wrong during Ingress NGINX cutovers

Most Ingress NGINX cutovers fail on details that the conversion tool does not carry across, not on the Gateway API itself. The six risks below share one root cause: the old controller did work implicitly, and the new path does not do that work until someone configures it. Each card names a check to run before traffic moves.

Silently dropped annotations

Ingress NGINX behavior is set through nginx.ingress.kubernetes.io/* annotations, and many have no direct Gateway API field. Conversion tools report some annotations as unsupported and skip them without failing the run. Before cutover, diff every annotation on each source Ingress against the converted output and list each one as mapped, implemented by a policy extension, or intentionally removed, with an owner for each decision.

Timeout and body size differences

Ingress NGINX applies its own defaults for proxy timeouts, body size limits and buffering, and those values often differ from the defaults of the Gateway API implementation you choose. Uploads that worked before can return errors, and long-running requests can close early. Test the largest upload, the slowest endpoint and a long-lived connection through the new path, and compare the effective values with the old ones.

TLS certificate gaps

Certificates may be issued for the Ingress host list but not for every Gateway listener, hostname or SNI combination the new resources expose. A missing certificate on one listener can break only some clients, so the failure looks intermittent. Verify each hostname with a TLS handshake against the new load balancer address, check certificate chains and expiry dates, and confirm that cert-manager or your certificate source renews the secrets the new listeners reference.

DNS TTL delays

Cutting over by changing a DNS record means some clients keep the old address until their cached record expires. If the old and new paths both serve traffic during that window, requests can split unpredictably between two controllers with different behavior. Lower the TTL on the affected records well before the change, and record the old and new targets so you can roll back by pointing the record back. Confirm the actual TTL in the zone, not only in the change ticket.

Duplicate controllers on the same hosts

Running Ingress NGINX and a Gateway API controller against the same hostnames can leave two controllers reconciling conflicting routes, or leave both load balancers answering. Pick one owner per hostname and make it explicit in both the old Ingress class and the new Gateway parent references. Check that the old controller no longer claims the hosts after the switch, and that no leftover Ingress still matches a host you moved.

Missing monitoring on the new path

Dashboards, alerts and log pipelines often filter on the Ingress NGINX metrics and log format, so the new controller can serve errors that nothing reports. Before cutover, confirm that the new controller exposes metrics your scraper collects, that error rates and latency are charted per route, and that access logs keep the fields your incident process needs. Run a deliberate failing request on each route and confirm an alert fires.

What your team needs to provide and what you receive

Your team provides the inputs that decide whether the conversion can be finished safely. The first is cluster access: a kubeconfig or equivalent access to every cluster where Ingress NGINX runs, plus the exact Kubernetes version of each cluster and the version of the Ingress NGINX controller deployed. Versions matter because the Gateway API resources and the controller you choose must both be supported on your clusters, so confirm the current Kubernetes support window at Kubernetes releases before the plan is fixed. The second input is a full export of Ingress objects across all namespaces, including every annotation, ConfigMap setting and custom snippet, because annotations are where most of the conversion effort sits. Ask your platform team to name the owner of each Ingress so behavior questions have a decision maker.

You also need to name who owns the DNS zones, TLS certificates and private keys, and the load balancer that fronts the ingress controller. Changing a hostname or certificate source during cutover is a decision for those owners, not for the migration team. Provide the change windows your organization allows, the rollback approval path, and at least one set of test traffic or a repeatable request set that reflects real clients, including long-lived connections, large uploads and authentication flows. Without representative traffic, the verification step can only prove that routes resolve, not that the application behaves the same.

In return you receive the converted manifests for Gateway, HTTPRoute and related objects, with each annotation either mapped, replaced by a policy or documented as unsupported, and the controller configuration for the Gateway API implementation you select. The runbook covers the staged cutover, verification steps, rollback triggers and owners. A cutover record captures what changed, when and what tests passed, and a decommission checklist lists the Ingress NGINX resources to remove once traffic is confirmed. The scope, deliverables and timeline are agreed in writing before work starts, so anything not listed, such as additional clusters or application changes, is quoted separately.

How DeployOpen scopes and delivers this migration

DeployOpen plans and delivers the move from Ingress NGINX to Gateway API inside your own clusters and infrastructure. The work starts with a written scope that names the routes, annotations, TLS setup and cutover conditions covered, so you know what you are buying before any change is made.

How we scope

  • Inventory every Ingress, IngressClass and annotation in the clusters that are in scope for the migration
  • Agree in writing which Gateway API implementation, TLS approach and DNS process the engagement covers
  • Define cutover success criteria, rollback triggers and the test traffic each route must pass
  • Engagements are fixed-scope, so deliverables and timelines are agreed in writing before work starts

How we build

  • Run ingress2gateway against exported manifests and review every generated Gateway and HTTPRoute by hand
  • Rewrite annotations that have no direct equivalent and document each behavior change for your team
  • Stand up the chosen Gateway API controller in a non-production cluster and test routes end to end
  • Test TLS termination, timeouts, header handling and redirects against the current Ingress NGINX behavior

How we hand over

  • Deliver converted manifests in your Git repository with a mapping document for each annotation and rule
  • Provide a staged cutover runbook covering DNS changes, parallel running and rollback steps
  • Record test results and open findings so your platform team can confirm each route before retirement
  • Walk your operators through the new resource model, including Gateway, HTTPRoute and policy objects

How we support

  • Support after cutover is available as a retainer covering controller upgrades and route changes
  • Continuous testing of exposed routes can be added to a retainer if your security team requires it
  • Ask any support provider to confirm response scope, change handling and who owns the controller configuration
  • Confirm with your own team which parts of the cluster, DNS and certificate stack stay under your ownership

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.