The community ingress-nginx controller was retired in March 2026: its repository is read-only and it gets no more releases, bug fixes, or security patches. Your existing controllers keep routing traffic, but every new CVE stays open for good, so you need to move. For most clusters that means the Kubernetes Gateway API. This guide walks through the migration end to end: inventorying your annotations, choosing an implementation, converting manifests with ingress2gateway, fixing what it can't translate, and cutting over without downtime.

What the ingress-nginx retirement actually means

Kubernetes SIG Network and the Security Response Committee announced the retirement in November 2025. Best-effort maintenance continued until March 2026. After that, the announcement says, "there will be no further releases, no bugfixes, and no updates to resolve any security vulnerabilities that may be discovered." The GitHub repositories become read-only. Existing Helm charts and container images stay available, so nothing breaks on day one.

In January 2026 the Kubernetes Steering and Security Response Committees published a follow-up statement describing ingress-nginx as "a piece of critical infrastructure for about half of cloud native environments." That figure explains the urgency. An internet-facing proxy with no security support is a standing liability, and many teams found out about the retirement only when a scanner or auditor flagged it.

Are you affected?

The retirement covers the community controller from kubernetes/ingress-nginx. It does not cover F5's NGINX Ingress Controller (nginxinc/kubernetes-ingress), which is a separate codebase that F5 still maintains, and it does not affect the NGINX web server itself. Annotation prefixes tell the two apart: the community controller uses nginx.ingress.kubernetes.io/*, while F5's uses nginx.org/*.

The official announcement gives this check, run with cluster-admin permissions:

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

If that returns pods, you're running the retired controller. Managed platforms sometimes ship their own builds or add-ons, so check your provider's notices too.

Your three options

Option What you do When it makes sense
Migrate to Gateway API Replace Ingress objects with Gateway + HTTPRoute and run a conformant controller Default choice for most teams; this is where upstream investment is going
Switch to another Ingress controller Keep Ingress resources, swap the controller, rewrite annotations You need to move fast and your Ingress objects are simple
Buy extended support Keep running ingress-nginx with a vendor's patched builds Buys time for large estates; it doesn't remove the migration

The announcement recommends that users "begin migration to Gateway API or another Ingress controller immediately," and points to the list of Ingress controllers in the Kubernetes docs if you stay on the Ingress API. Switching controllers looks cheaper than it is: almost every real-world ingress-nginx config depends on nginx.ingress.kubernetes.io/* annotations, and they don't carry over to other controllers. If you're rewriting the annotations anyway, it's usually worth moving to the API that replaces Ingress.

Gateway API in five minutes

Gateway API splits what an Ingress object did into resources owned by different roles:

  • GatewayClass: the controller implementation, usually installed by your platform team or the implementation's Helm chart.
  • Gateway: a load balancer instance with listeners (port, protocol, hostname, TLS). Usually owned by the platform team.
  • HTTPRoute (plus GRPCRoute, TLSRoute, and others): routing rules owned by application teams, which attach to a Gateway through parentRefs.
  • ReferenceGrant: explicit permission for a cross-namespace reference, such as a Gateway in infra using a TLS Secret stored in shop.

Things that needed annotations on ingress-nginx are first-class fields here: header matching, weighted traffic splits, redirects, URL rewrites, request timeouts, and header modification. The current release is v1.7.0, published October 29, 2026. It promoted HTTPRoute retries to the Standard channel. v1.6.0 had already moved the CORS filter there. The HTTPRoute reference notes that route timeouts have been Standard since v1.2.0.

Choosing a Gateway API implementation

The Gateway API project keeps a list of implementations with conformance badges. At the time of writing, these were among those reporting full conformance for recent versions:

Implementation Listed conformance Notes
Envoy Gateway v1.6.1 Envoy-based, CNCF project, a common default choice
Istio v1.6.0 Good fit if you already run Istio or plan to
Cilium v1.6.1 Natural if Cilium is already your CNI
NGINX Gateway Fabric v1.6.3 F5's Gateway API implementation, NGINX data plane
Traefik Proxy v1.6.1 Familiar to Traefik users
Kong Operator v1.6.2 Kong plugins and enterprise features
kgateway v1.6.1 Envoy-based, formerly Gloo's open-source core
GKE Gateway controller v1.6.0 Managed option on Google Cloud

AWS Load Balancer Controller and Amazon EKS are listed as partially conformant. Badges change with every release, so re-check the page before you decide.

What should drive the choice:

  1. What you already run. If Cilium is your CNI, its Gateway API support saves you a component (see our Cilium vs Calico comparison). If you run Istio, use its gateway.
  2. Your hardest annotation. Find the most exotic thing you do with ingress-nginx (Lua snippets, external auth, rate limiting, mTLS to backends) and confirm the candidate supports it, either through a Standard field or the implementation's own policy CRDs.
  3. Emitter support in ingress2gateway. The converter has implementation-specific emitters for agentgateway, Airlock Microgateway, Envoy Gateway, GCE, and kgateway. They translate more annotations into those implementations' extension resources.
  4. Operational familiarity. An Envoy-based gateway means learning Envoy's stats and debug endpoints. NGINX Gateway Fabric keeps the NGINX mental model.

Step 1: Inventory what you actually use

Start by finding out which annotations your cluster depends on. This lists every nginx.ingress.kubernetes.io annotation key, with counts:

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

Then find the Ingresses that use raw NGINX snippets. No tool converts those, so each one needs a manual decision:

kubectl get ingress -A -o json \
  | jq -r '.items[]
           | select(.metadata.annotations // {} | keys[]
                    | test("configuration-snippet|server-snippet|auth-snippet"))
           | "\(.metadata.namespace)/\(.metadata.name)"' \
  | sort -u

Also export the controller's ConfigMap (often ingress-nginx-controller in the ingress-nginx namespace). Global settings such as proxy-body-size, use-forwarded-headers, or custom log formats live there, and they're easy to forget because no Ingress object mentions them.

Step 2: Install the Gateway API CRDs and a controller

Many implementations install or pin their own CRD version, so read your controller's install guide first. If you install the CRDs yourself, the getting started guide uses server-side apply:

kubectl apply --server-side -f \
  https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.7.0/standard-install.yaml

Install your chosen controller next to ingress-nginx. They don't conflict: ingress-nginx watches Ingress objects with its class, and the new controller watches Gateway API resources.

Step 3: Convert manifests with ingress2gateway

ingress2gateway is the SIG Network converter. Its 1.0 release in March 2026 grew ingress-nginx coverage from three annotations to "over 30 common annotations (CORS, backend TLS, regex matching, path rewrite, etc.)", backed by integration tests that compare runtime behavior across controllers. The latest release at the time of writing is v1.2.0.

# Install (pick one)
go install github.com/kubernetes-sigs/ingress2gateway@v1.2.0
brew install ingress2gateway

# Convert one namespace from the live cluster
ingress2gateway print --providers=ingress-nginx --namespace shop > shop-gwapi.yaml

# Convert the whole cluster
ingress2gateway print --providers=ingress-nginx --all-namespaces > gwapi.yaml

# Convert manifests from Git instead of the cluster
ingress2gateway print --providers=ingress-nginx --input-file k8s/ingress.yaml > gwapi.yaml

# Emit implementation-specific extensions (e.g. for Envoy Gateway)
ingress2gateway print --providers=ingress-nginx --all-namespaces --emitter envoy-gateway > gwapi.yaml

Other useful flags: --ingress-nginx-ingress-class (defaults to nginx) selects which ingress class to convert, and --allow-experimental-gw-api lets the output use Experimental channel fields. The project describes itself as "a migration assistant, not a one-shot replacement." Read the warnings it prints. They tell you exactly which behaviors did not carry over.

Translating an Ingress by hand

You need to understand the output, so here's a typical Ingress next to its Gateway API equivalent.

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: shop
  namespace: shop
  annotations:
    nginx.ingress.kubernetes.io/proxy-read-timeout: "30"
spec:
  ingressClassName: nginx
  tls:
  - hosts: [shop.example.com]
    secretName: shop-tls
  rules:
  - host: shop.example.com
    http:
      paths:
      - path: /api
        pathType: Prefix
        backend:
          service:
            name: shop-api
            port:
              number: 8080
      - path: /
        pathType: Prefix
        backend:
          service:
            name: shop-web
            port:
              number: 80

The platform team owns a shared Gateway. In this example it lives in its own namespace and admits routes only from namespaces labelled gateway-access=public:

apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
  name: public
  namespace: infra-gateway
spec:
  gatewayClassName: example-class   # the GatewayClass your controller installs
  listeners:
  - name: http
    protocol: HTTP
    port: 80
    allowedRoutes:
      namespaces:
        from: Selector
        selector:
          matchLabels:
            gateway-access: public
  - name: https-shop
    protocol: HTTPS
    port: 443
    hostname: shop.example.com
    tls:
      mode: Terminate
      certificateRefs:
      - kind: Secret
        name: shop-tls
        namespace: shop
    allowedRoutes:
      namespaces:
        from: Selector
        selector:
          matchLabels:
            gateway-access: public

The TLS Secret stays in the shop namespace, so that namespace has to grant the Gateway access explicitly:

apiVersion: gateway.networking.k8s.io/v1
kind: ReferenceGrant
metadata:
  name: allow-public-gateway-certs
  namespace: shop
spec:
  from:
  - group: gateway.networking.k8s.io
    kind: Gateway
    namespace: infra-gateway
  to:
  - group: ""
    kind: Secret

The ReferenceGrant reference uses v1. If your installed CRDs are older and only serve v1beta1, kubectl explain referencegrant will tell you. The application team owns the routes:

apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: shop
  namespace: shop
spec:
  parentRefs:
  - name: public
    namespace: infra-gateway
    sectionName: https-shop
  hostnames:
  - shop.example.com
  rules:
  - matches:
    - path:
        type: PathPrefix
        value: /api
    backendRefs:
    - name: shop-api
      port: 8080
    timeouts:
      request: 30s
  - matches:
    - path:
        type: PathPrefix
        value: /
    backendRefs:
    - name: shop-web
      port: 80
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: shop-https-redirect
  namespace: shop
spec:
  parentRefs:
  - name: public
    namespace: infra-gateway
    sectionName: http
  hostnames:
  - shop.example.com
  rules:
  - filters:
    - type: RequestRedirect
      requestRedirect:
        scheme: https
        statusCode: 301
kubectl label namespace shop gateway-access=public

Three differences matter here. First, ingress-nginx redirects HTTP to HTTPS automatically when TLS is configured, with a 308 status. Gateway API redirects only when you write the redirect route, and the redirect guide uses 301 in its example. Second, proxy-read-timeout is a socket-level read timeout in NGINX, while timeouts.request bounds the whole request. They aren't the same thing. Third, longest-prefix-wins matching works as you'd expect in both, but ingress-nginx regex paths behave differently (more on that below).

Annotation equivalents cheat sheet

Based on the ingress-nginx provider README and the Gateway API spec:

ingress-nginx annotation Gateway API equivalent Converted by ingress2gateway?
rewrite-target URLRewrite filter (ReplaceFullPath / ReplacePrefixMatch) Yes, except capture groups like $1
permanent-redirect, temporal-redirect RequestRedirect filter Yes
ssl-redirect: "false" Omit the HTTP redirect route Yes
canary-weight, canary-by-header Weighted backendRefs, header matches Yes (not cookie or pattern canaries)
upstream-vhost RequestHeaderModifier setting Host Yes
enable-cors, cors-* CORS filter (Standard since v1.6) Yes
use-regex RegularExpression path match Yes, review the output
backend-protocol: GRPC GRPCRoute Yes
backend-protocol: HTTPS + proxy-ssl-* BackendTLSPolicy Yes, when verification settings are present
ssl-passthrough TLSRoute + Passthrough listener Yes
proxy-*-timeout timeouts.request / timeouts.backendRequest Best effort, semantics differ
proxy-body-size Implementation-specific policy Only through some emitters
configuration-snippet, server-snippet Implementation-specific policy, or a rewrite of the logic No
custom-headers ResponseHeaderModifier, or implementation policy No

Anything not in your controller's Standard feature set (rate limiting, external auth, WAF rules) moves to that implementation's own policy CRDs. That's the part of the migration that locks you in, so keep those objects in a separate directory and know exactly how many there are.

Gotchas that bite during cutover

Regex semantics. ingress-nginx regex matches are case-insensitive prefix matches. ingress2gateway reproduces that faithfully as (?i)/users/(\d+).*, and the 1.0 announcement notes that most teams will want to drop the leading (?i) and the trailing .*. Decide on purpose instead of shipping the literal translation.

Body size and buffering. The converter often can't apply proxy-body-size because "most Gateway API implementations have reasonable body size and buffering defaults." Reasonable isn't the same as yours. If you accept large uploads, find your implementation's limit and test it.

URL normalization. Gateway API doesn't standardize URL normalization, so encoded slashes, double slashes, and dot segments may route differently from NGINX. Add test cases for these if security rules depend on paths.

Client IP and headers. Check how the new data plane sets X-Forwarded-For and whether your cloud load balancer uses PROXY protocol. If the ingress-nginx ConfigMap had use-forwarded-headers or real-ip-header settings, replicate them in the new controller's configuration.

Default backend and 404 pages. ingress-nginx serves a default backend for unmatched hosts. Gateways typically return a plain 404. If clients or monitoring rely on the old response, add an explicit catch-all route.

Route status is your friend. Unlike Ingress, Gateway API resources report whether they were accepted:

kubectl get gateway -A
kubectl describe httproute shop -n shop   # check Accepted and ResolvedRefs conditions

A route with ResolvedRefs: False usually points to a missing ReferenceGrant or a wrong Service port. That's a lot better than ingress-nginx silently ignoring a bad annotation.

A zero-downtime cutover plan

The pattern the ingress2gateway maintainers recommend is to run both stacks side by side and move traffic gradually:

  1. Deploy in a dev cluster first. Apply the converted manifests and run your integration tests against the new gateway address.
  2. Run in parallel in production. The Gateway gets its own load balancer IP. Test it directly before any DNS change:
GW_IP=$(kubectl get gateway public -n infra-gateway \
  -o jsonpath='{.status.addresses[0].value}')
curl -sv --resolve shop.example.com:443:$GW_IP https://shop.example.com/api/health
  1. Shift traffic gradually. Use weighted DNS records, your cloud load balancer, or a CDN origin split. If you use ExternalDNS, it can read Gateway API routes as a source, but don't let two controllers manage the same record. Pin the record by hand during the transition.
  2. Watch the right signals. Compare 4xx/5xx rates, p99 latency, and request size errors (413s) between the two paths for each host.
  3. Keep rollback cheap. Leave ingress-nginx running and untouched until every host has been on the gateway for a full traffic cycle, including your weekly batch jobs.
  4. Clean up. Delete the Ingress objects, uninstall ingress-nginx, and remove its ConfigMap and admission webhook.

cert-manager supports Gateway API, so certificates issued for Ingress objects can be reissued from Gateway listeners. Plan that switch per hostname so you don't hit ACME rate limits. Keep the converted manifests in Git and deploy them through your existing GitOps flow (see our roundup of GitOps platforms) rather than applying converter output straight to the cluster.

Frequently Asked Questions

Will my ingress-nginx controller stop working after March 2026?

No. Existing deployments keep running, and the images and Helm charts are still downloadable. What stopped is maintenance: no new releases and no security fixes. The risk grows each time a vulnerability is disclosed in NGINX or the controller.

Is the F5 NGINX Ingress Controller affected by the retirement?

No. F5's controller (nginxinc/kubernetes-ingress) is a separate project with its own nginx.org/* annotations, and F5 still maintains it. F5 also maintains NGINX Gateway Fabric, its Gateway API implementation.

Is Gateway API production-ready?

Yes. The core resources (GatewayClass, Gateway, HTTPRoute) are GA under gateway.networking.k8s.io/v1, and many implementations pass the conformance suite. Check that each feature you need is in the Standard channel and supported by your implementation, not just defined in the spec.

Can I keep using Ingress resources?

Yes. The Ingress API isn't deprecated. Only one controller was retired. You can switch to another Ingress controller and keep your objects. You'll still have to rewrite every nginx.ingress.kubernetes.io annotation, which is why most teams move to Gateway API at the same time.

Does ingress2gateway convert everything automatically?

No. It covers the common annotations and prints warnings for the rest. Raw snippets (configuration-snippet, server-snippet), cookie-based canaries, and custom headers ConfigMaps need manual work, and body-size and timeout settings need review.

Which Gateway API implementation is closest to ingress-nginx?

NGINX Gateway Fabric keeps an NGINX data plane, which helps if your team debugs with NGINX knowledge. Envoy-based options (Envoy Gateway, Istio, kgateway) have the broadest ingress2gateway emitter support. Pick based on your required features, not familiarity alone.

Conclusion

The ingress-nginx retirement is a security deadline, not a feature change, and the longer an unpatched edge proxy runs, the more it costs. The migration path is well understood: inventory your annotations, choose a conformant Gateway API implementation that covers your hardest requirement, generate a first draft with ingress2gateway, review every warning, and move traffic host by host with the old controller ready as a rollback. Most of the work sits in the long tail of snippets and global ConfigMap settings, so find those first. If you're cleaning up the rest of your platform at the same time, our guide to platform engineering and internal developer platforms covers how to make shared Gateways a self-service product rather than a ticket queue. For quick YAML and JSON clean-up during the conversion, the developer tools on this site can help.