blog

ingress-nginx Is Retired: Migrating Off It on EKS Without Breaking Production

ingress-nginx stopped getting releases and security fixes in March 2026. How to inventory what you run on EKS, pick a replacement, and migrate with both controllers running side by side.

Kubernetes SIG Network and the Security Response Committee announced the retirement of ingress-nginx on November 11, 2025, with best-effort maintenance until March 2026. The last controller release, v1.15.1, shipped on March 19, 2026, and the GitHub repository is now archived.

Your existing deployment keeps working, and the images and Helm charts are still available, but the project won’t release anything new. In the announcement’s words: “no further releases, no bugfixes, and no updates to resolve any security vulnerabilities that may be discovered.”

If you’re on EKS and still running it, here’s what that means and how we approach the migration.

The security risk of an unmaintained ingress controller#

ingress-nginx parses every request from the internet before your apps see it. By default it also has read access to Secrets across the whole cluster. In March 2025, CVE-2025-1974 was rated 9.8. Anything on the pod network could exploit the admission webhook, and combined with the other bugs fixed in the same release it had a good chance of taking over the cluster. That bug was fixed in a patch release, which won’t happen for a similar bug found now.

Nothing forces the migration today, so it’s easy to postpone. Treat ingress-nginx like any other unpatched internet-facing component and put the migration on the roadmap with a date.

First, check whether you’re affected. This is the command from the official announcement:

bash
kubectl get pods --all-namespaces --selector app.kubernetes.io/name=ingress-nginx

Also note that ingress-nginx (the Kubernetes community project) and F5’s NGINX Ingress Controller are two unrelated projects that both use NGINX, and only the community project is retired.

What about InGate?#

InGate was the planned successor, a Gateway API and Ingress controller from the ingress-nginx maintainers. The retirement announcement says InGate “never progressed far enough to create a mature replacement; it will also be retired”, and the repository is archived and marked EOL, so it isn’t a migration target.

The options on EKS#

There are three options, and you can combine them.

AWS Load Balancer Controller (ALB)#

If you’re on EKS, you probably already run the AWS Load Balancer Controller for something. It has long supported Ingress on ALB, and its Gateway API support went GA in v3.0.0 (January 2026): HTTPRoute and GRPCRoute on ALB, TCPRoute, UDPRoute and TLSRoute on NLB. An NLB TLS listener uses SNI to pick a certificate, but it can’t route on the hostname, so the controller’s L4 docs note that a TLSRoute on NLB effectively behaves like a TCPRoute.

With ALB, AWS runs the proxy. There are no proxy pods to scale, patch or debug, and you get ACM certificates, WAF, and ALB’s built-in OIDC and Cognito authentication.

You’re limited to what ALB supports. From the controller’s L7 Gateway support table:

  • Supported: URL rewrites and redirects, with one limitation on redirects. A ReplacePrefixMatch redirect that changes only the path is rejected by ALB as a redirect loop, and the controller then stops creating the remaining rules of that HTTPRoute. For path-only redirects use ReplaceFullPath, or change the scheme, port or hostname in the same redirect.
  • Not supported: CORS filters, response header modification, request mirroring, HTTPRoute timeouts and retries, and BackendTLSPolicy.
  • Limited: request header modification covers only the headers ALB allows, and it’s configured through listener attributes in a LoadBalancerConfiguration, not through the HTTPRoute filter.
  • Certificates: they come from ACM. The controller can’t read a certificate from a Kubernetes Secret through a listener’s certificateRefs field, so certificates issued by cert-manager have to move to ACM (see step 4).

Every route also becomes ALB listener rules, which count against per-ALB quotas.

If your Ingresses are mostly host and path routing with TLS, ALB covers it.

A Gateway API implementation running in the cluster#

Gateway API is what the Kubernetes project recommends as the replacement. At the time of writing the release is v1.7.0, and the releases page shows the latest. Conformant implementations include Envoy Gateway, Cilium, Istio, NGINX Gateway Fabric, kgateway and Traefik (see the implementations list). HAProxy Technologies also has HAProxy Unified Gateway, which supports Gateway API and Ingress but isn’t on the conformance list yet.

These run the proxy in your cluster, behind an NLB, the same way ingress-nginx does today. You keep in-cluster features ALB doesn’t have: rate limiting, external auth, basic auth, header manipulation, TLS passthrough. Most of those are implementation-specific extensions rather than core Gateway API, so you’re picking a vendor API along with the controller. Envoy Gateway, for example, does rate limiting through BackendTrafficPolicy and auth through SecurityPolicy.

The choice usually depends on what you already run. If Cilium is your CNI, use its Gateway API support. If you run an Istio mesh, use Istio. If your team knows NGINX well, NGINX Gateway Fabric keeps that data plane. If none of those apply, compare the implementations on the features your annotation list requires.

Another Ingress controller#

The Ingress API itself isn’t being removed. The Kubernetes docs describe it as frozen: it’s stable and there are no plans to remove it, but it gets no new features. Swapping controllers while keeping your Ingress objects is the smallest change.

Traefik has a provider that reads ingress-nginx annotations and translates “many” of them. F5’s NGINX Ingress Controller, HAProxy and Kong are other options. None of them understand every ingress-nginx annotation, so the inventory work below still applies. This path makes sense when you need to get off an unpatched proxy quickly. You can move to Gateway API afterwards.

The migration plan#

1. List the Ingresses and annotations you use#

Start with which Ingresses use the nginx class (old ones may still use the annotation instead of ingressClassName):

bash
kubectl get ingress -A -o json | jq -r '.items[] |
  [.metadata.namespace, .metadata.name,
   (.spec.ingressClassName // .metadata.annotations["kubernetes.io/ingress.class"] // "-")]
  | @tsv'

Then count which annotations you depend on. Each one has to be handled in the migration:

bash
kubectl get ingress -A -o json | jq -r '.items[] | (.metadata.annotations // {}) | keys[]
  | select(startswith("nginx.ingress.kubernetes.io/"))' | sort | uniq -c | sort -rn

Check the controller’s ConfigMap and Helm values too. Global settings like use-forwarded-headers, proxy-body-size or http-snippet change behavior for every Ingress without showing up on any of them.

2. Find the snippets#

configuration-snippet, server-snippet, auth-snippet and the other snippet annotations inject raw NGINX config. Gateway API has no equivalent, so ingress2gateway can’t translate them. This lists the Ingresses that use one:

bash
kubectl get ingress -A -o json | jq -r '.items[]
  | select((.metadata.annotations // {}) | keys | any(endswith("-snippet")))
  | "\(.metadata.namespace)/\(.metadata.name)"'

Snippets have been off by default in recent ingress-nginx versions, so if you have them, they were enabled explicitly. For each one, work out what it does (usually custom headers, a redirect, or an auth tweak) and find the native feature in your target, or move it into the application.

3. Run ingress2gateway#

ingress2gateway is the SIG Network migration tool. Version 1.0 (released March 20, 2026) went from three supported ingress-nginx annotations to over 30, including rewrites, redirects, CORS, timeouts, canary, regex paths, backend TLS and IP allow/deny lists. v1.1 added ssl-passthrough (translated to TLSRoute), app-root and from-to-www-redirect. At the time of writing the release is v1.2.0, and the releases page shows the latest.

bash
ingress2gateway print --providers=ingress-nginx --all-namespaces > gwapi.yaml

It can also emit implementation-specific resources with --emitter (Envoy Gateway, kgateway, agentgateway and others). There’s no AWS Load Balancer Controller emitter, so for ALB you’ll be adjusting the standard output by hand.

Read the warnings it prints. They list unsupported annotations, best-effort translations, and behavior differences.

4. Check the behavior differences#

The Kubernetes blog has a good post on five ingress-nginx behaviors to know before you migrate. Together with the annotation inventory, these are what we’d check first:

  • Regex and rewrites. ingress-nginx regex paths are case-insensitive prefix matches, and rewrite-target silently turns on regex for every path on that host, across all Ingresses. A literal translation can turn working routes into 404s.

  • Trailing slashes. For a rule on /my-path/, ingress-nginx answers a request for /my-path with a 301 to /my-path/. Gateway API implementations don’t add that redirect, so after the migration the same request returns a 404. If clients depend on it, add the redirect as its own rule:

    yaml
    rules:
      - matches:
          - path:
              type: Exact
              value: /my-path
        filters:
          - type: RequestRedirect
            requestRedirect:
              statusCode: 301
              path:
                type: ReplaceFullPath
                replaceFullPath: /my-path/
  • URL normalization. ingress-nginx normalizes the path before matching, so /ip/abc/../../uuid and ////uuid both match a rule for /uuid. Most Gateway API implementations also normalize paths by default (Istio, Envoy Gateway and kgateway all resolve . and .. segments), but what exactly gets normalized differs between them. If backends rely on it, check the target’s documentation and include a few such paths in the tests in step 5.

  • Auth. auth-url, auth-signin and basic auth need an external auth or basic auth feature in your target, or ALB’s OIDC/Cognito actions.

  • Rate limiting. limit-rps, limit-rpm and limit-connections have no core Gateway API equivalent. On ALB you’d use AWS WAF rate-based rules, in-cluster it’s an implementation extension.

  • Custom headers. Often done with more_set_headers in a snippet. Gateway API has header modifier filters, but ALB supports only a limited set.

  • TLS passthrough. ALB always terminates TLS. Passthrough needs an NLB with a TCP listener, or an in-cluster implementation with TLSRoute. ingress2gateway turns ssl-passthrough into one TLSRoute per hostname. That works in-cluster, but an NLB can’t route by SNI, so with the AWS Load Balancer Controller each passthrough backend needs its own listener or its own NLB.

  • Certificates. With ingress-nginx, certificates usually live in Kubernetes Secrets, issued by cert-manager and referenced from the Ingress tls block. On ALB that doesn’t carry over, because the AWS Load Balancer Controller only uses ACM certificates. Request a certificate in ACM for each hostname, with DNS validation so ACM renews it automatically. Then either let the controller discover it by matching the hostnames on the listener and routes, or set the ARNs in a LoadBalancerConfiguration (defaultCertificate and certificates). For plain Ingress on ALB it’s the alb.ingress.kubernetes.io/certificate-arn annotation or the same hostname discovery. Have the certificates issued before you test in step 5. With an in-cluster Gateway API implementation you keep cert-manager. Enable its Gateway API support, and if an ACME HTTP-01 solver points at the nginx ingress class, switch it to the gatewayHTTPRoute solver or to DNS-01 before ingress-nginx is removed.

5. Run both side by side#

The new controller gets its own load balancer, and nothing about ingress-nginx has to change while you build the new path. Apply the translated resources, then test each hostname against the new load balancer directly (curl --resolve is enough) before any DNS changes.

If you use external-dns, make sure it doesn’t publish records for the new routes before you’re ready. If the old and new resources both publish the same hostname, traffic moves to the new load balancer before you’ve tested it.

6. Shift traffic gradually#

Move one hostname at a time, lowest risk first. With Route 53 weighted records you can send a small share of traffic to the new load balancer, watch error rates and latency, and increase from there. If the records aren’t Route 53 aliases, lower their TTLs a day ahead so rollback is fast. Keep ingress-nginx running until the last hostname has been stable for a while, then remove it along with its NLB and admission webhook.

What we’d pick#

Small team, mostly plain HTTP routing, already on the AWS Load Balancer Controller: move to ALB. Gateway API on ALB if you’re happy with its limits, plain Ingress on ALB if you’d rather not take on new CRDs right now. You give up some proxy features, move certificates to ACM and pay per ALB (IngressGroups let Ingresses share one), and in return there’s one less proxy to run. If the cluster is already more than your team wants to maintain, our ECS or Kubernetes post covers that decision.

Heavy annotation use, auth or rate limiting at the edge, or a platform team: a Gateway API implementation in the cluster. Pick based on what you already run, for example Cilium or Istio. It’s more to operate, and it covers the most features.

You need off an unpatched proxy this month and can’t redesign routing yet: swap to another Ingress controller now, plan Gateway API as a second step. That’s two migrations instead of one, but the first is quick.

Whichever you choose, the inventory and the side-by-side cutover are the same, and they take most of the time.

If you’re still running ingress-nginx on EKS and want help planning or doing the move, get in touch. We’ll start with the inventory and tell you which path fits.