CKA · 20 November 2026 · 5 min read

ingress-nginx is retired: your options

ingress-nginx still runs but gets no more fixes. Move to the Gateway API with ingress2gateway, switch to a controller that reads its annotations, or use your cloud's option, and move traffic across like a blue/green release.

If your cluster still runs ingress-nginx, it keeps working, but it no longer gets fixes: the Kubernetes project retired it in March 2026, so there are no further releases or security patches. You have three real options. Move to the Gateway API, the project's recommended path, with the ingress2gateway tool converting most of your Ingress resources and their annotations. Keep your Ingress resources and swap the controller, for example to Traefik, which can read ingress-nginx's annotations. Or use your cloud provider's managed option. Whichever you choose, run the new controller beside the old one and move traffic across gradually, the same way you would release a new version of an app.

TL;DR

  • ingress-nginx was retired in March 2026: it still runs, but gets no fixes, including security fixes.
  • Option 1, the Gateway API: the recommended path. ingress2gateway 1.0 converts Ingress resources and over 30 common ingress-nginx annotations, and warns about the rest.
  • Option 2, another Ingress controller: Traefik (v3.6.2 and later) can read ingress-nginx annotations, so many Ingress files work unchanged.
  • Option 3, your cloud's option: managed controllers and gateways; check what your provider supports and until when.
  • Not an option for long: staying on an unpatched edge proxy.
  • Migrate like a blue/green release: both controllers side by side, traffic moved in steps, the old one removed last.

Your options in one picture

ingress-nginx is retired: from today's Ingress resources and the retired ingress-nginx controller, three options: convert to Gateway and HTTPRoute with ingress2gateway, switch to Traefik with its ingress-nginx provider, or use your cloud's controller; then move traffic one host at a time and remove ingress-nginx last.

Want to change it for your own setup? Open this diagram in archhy, our sister product for architecture diagrams, and press Make a copy in archhy: it opens as your own copy, ready to edit.

First, see what you have

List your Ingresses and the ingress-nginx annotations they rely on. The annotations decide how easy each option is:

Shell
kubectl get ingress -A -o jsonpath='{range .items[*]}{.metadata.namespace}/{.metadata.name}{"\t"}{.spec.ingressClassName}{"\n"}{end}'kubectl get ingress -A -o json | grep -o '"nginx.ingress.kubernetes.io/[^"]*"' | sort | uniq -c | sort -rn

A handful of common annotations (rewrites, TLS redirects, body size, CORS) is easy to carry over. configuration-snippet and other raw NGINX configuration is not: it has no equivalent anywhere else and has to be redesigned.

Option 1: move to the Gateway API

The Gateway API is the successor to Ingress in Kubernetes, and the option the Kubernetes project recommends. Weights, header matching, rewrites and status are part of the standard, so they no longer depend on one controller's annotations (see Blue/green deployments with the Gateway API for weights in practice).

  1. Pick an implementation. Many controllers implement it, including Envoy Gateway, Istio, Cilium, NGINX Gateway Fabric, Traefik and kgateway. Check the official implementations page for which pass conformance for the Gateway API version you need.
  2. Convert with ingress2gateway (the command is below), using its ingress-nginx provider: the tool's nginx provider is for F5's separate NGINX Ingress Controller.
  3. Read every warning. Unsupported annotations are reported, not converted, and some conversions are approximate. Treat the output as a first draft and review it like code.
  4. Run it beside ingress-nginx, test each host through the new gateway, then move traffic (below).
Shell
ingress2gateway print --providers=ingress-nginx --all-namespaces > gateway-api.yaml

Before and after

What the move to the Gateway API looks like for a typical app: two Ingresses and their annotations become one Gateway and one HTTPRoute, with standard fields doing what the annotations did.

Before: users reach the retired ingress-nginx controller, which serves Ingress shop (rewrite-target, ssl-redirect, tls) and Ingress shop-canary (canary-weight 10) in front of Services shop-v1 and shop-v2. After: users reach Gateway shop (HTTPS listener), which sends traffic to the same Services at weights 90 and 10. HTTPRoute shop attaches through parentRefs and configures the rules, including RequestRedirect and URLRewrite. Notes map ingressClassName to gatewayClassName, rewrite-target to URLRewrite, ssl-redirect to RequestRedirect, canary to weights, and say configuration-snippet has no equivalent.

Open the before and after in archhy and press Make a copy in archhy to sketch your own migration.

Option 2: keep Ingress, change the controller

If you have many Ingress resources and little time, changing only the controller is the smaller step. Traefik, from v3.6.2, has a provider that reads Ingress resources written for ingress-nginx, annotations included, and its documentation has a migration guide that runs both side by side. Expect a few differences: some annotations are not supported, global settings from ingress-nginx's ConfigMap do not carry over as they are, and path handling differs in small ways (for example trailing slashes). Other Ingress controllers are listed in the Kubernetes documentation.

F5's NGINX Ingress Controller is a different product with its own annotations (nginx.org/…), so it is a migration, not a drop-in replacement. Changing controller buys time; the Gateway API is still where Kubernetes networking is heading.

Option 3: your cloud provider's option

Managed Kubernetes services offer their own ingress and gateway controllers, and some extended support for ingress-nginx for a while: Azure, for example, said it would support ingress-nginx in its Application Routing add-on through November 2026. Check your provider's current policy and end date, and plan the move before it.

Move traffic like a blue/green release

  1. Install the new controller or gateway beside ingress-nginx, with its own address.
  2. Create the converted resources and test each host against the new address with curl -H 'Host: …'.
  3. Move traffic in steps: lower DNS TTLs, then point a small share of traffic (or one hostname at a time) at the new address, watch errors and latency, and continue.
  4. Keep ingress-nginx running until every host has moved and stayed healthy, so rolling back is one DNS change.
  5. Remove ingress-nginx and its resources last.

It is the same pattern as an application release, at the scale of the cluster's front door: see the blue/green series.

What the exams expect

The CKA and CKAD do not test ingress-nginx's annotations. They test Ingress resources (hosts, paths, backends, Ingress classes) and, on the CKA, using the Gateway API to manage ingress traffic. Both skills carry over to whatever controller your clusters run.

References

Facts checked against these sources in November 2026. Tools and support dates change; check them before you plan.

Keep going

Practice Ingress and the Gateway API on a real cluster in the CKA's Ingress and network policy module (an Ingress with Traefik, then a guided Gateway API lab) and the CKAD's Services and Ingress module.

More from the blog