KubernetesKubernetes
Ingress or Gateway API: routing traffic into a cluster
The Ingress API is frozen: it stays a GA API and gets no further changes. The Kubernetes project recommends Gateway API in its place, and it has retired its Ingress NGINX controller.

Where Ingress stands
The Kubernetes documentation states it in two sentences: "The Kubernetes project recommends using Gateway instead of Ingress. The Ingress API has been frozen." It then says what frozen means:
- The Ingress API is GA and is subject to the stability guarantees for GA APIs. Removing Ingress from Kubernetes is not planned.
- Development of the Ingress API has stopped, and the API will receive no more changes or updates.
The Gateway API documentation describes the limits of the frozen API. Ingress comes with basic features only: TLS termination and routing of HTTP traffic by host header and URI. Controllers offer more through annotations, which are specific to each implementation, so switching between controllers means converting the annotations of one to another.
The retirement of ingress-nginx
An Ingress needs an Ingress controller, and one such controller is retired. On 11 November 2025, Kubernetes SIG Network and the Security Response Committee announced the retirement of Ingress NGINX, the controller in the kubernetes/ingress-nginx repository. The announcement sets the end date: maintenance on a best-effort basis runs until March 2026, and after that the project ships no releases and no bug fixes and will not patch security vulnerabilities that are found.
The announcement adds that existing deployments keep functioning and that the Helm charts and container images remain available. GitHub now marks the repository as archived. The announcement also gives a command that shows whether a cluster runs the controller:
kubectl get pods --all-namespaces --selector app.kubernetes.io/name=ingress-nginxThe Kubernetes documentation lists other Ingress controllers, and the announcement points Ingress users to that list.
The Gateway API resources
Gateway API is an official Kubernetes project. Kubernetes does not implement its resources natively. They are custom resources: install the Gateway API CRDs, or follow the installation instructions of the implementation you chose. Three kinds carry HTTP traffic, and all three are stable under gateway.networking.k8s.io/v1:
- GatewayClass describes a group of gateways that share a configuration. The controller implementing the class manages them.
- Gateway defines an instance of traffic-handling infrastructure, such as a cloud load balancer or an in-cluster proxy. Its listeners set the port, the protocol and the hostname, and TLS termination is a property of the listener.
- HTTPRoute defines the rules that map HTTP traffic from a Gateway listener to backends such as Services.
Gateway API supports routing that was only possible in Ingress through custom annotations, such as header-based matching and traffic weighting. GRPCRoute is stable as well.
The split of roles
Ingress combines the load balancer and the routing rules in a single resource. Gateway API splits them and designs each resource for a role. Its security model shows who writes what in the three-tier case:
- The infrastructure provider writes GatewayClasses, Gateways and Routes.
- Cluster operators write Gateways and Routes.
- Application developers write Routes.
RBAC can be used to enable each role. The Gateway owner also decides who attaches: by default a Gateway only accepts Routes from its own namespace, and allowedRoutes on a listener opens it to others. The split is not mandatory. A single RBAC Role can cover the developer, admin and operator responsibilities.
An HTTPRoute example
The names, the hostname, the path and the weights below are yours to choose:
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: my-app
namespace: my-app
spec:
parentRefs:
- name: shared-gateway
namespace: infra
hostnames:
- "app.example.com"
rules:
- matches:
- path:
type: PathPrefix
value: /api
backendRefs:
- name: my-app-api
port: 8080
weight: 90
- name: my-app-api-canary
port: 8080
weight: 10parentRefs attaches the route to a Gateway in another namespace, which works only if that Gateway allows routes from this namespace. The weight fields forward 90% of the matching requests to one Service and 10% to the other. The hostname must match the hostname of the Gateway listener, or the listener ignores the rules.
The ingress2gateway tool
Gateway API does not include the Ingress kind, so a one-time conversion of existing Ingress resources is necessary. ingress2gateway is managed by the Gateway API subproject of SIG Network. It reads Ingress resources from a cluster or from files and prints the equivalent Gateway API resources:
ingress2gateway print --providers=ingress-nginxThe tool warns about untranslated fields and unsupported features, and it is not intended to copy annotations across. The Gateway API project recommends its output as the starting point of a migration. The project also recommends running a Gateway API controller alongside the existing Ingress-NGINX controller: each gets a different external IP address, so you can validate the new configuration in isolation from production traffic.
Which API to choose
- Nothing deployed yet: the Kubernetes project recommends Gateway instead of Ingress. The ingress-nginx README tells new users not to deploy it and to pick a Gateway API implementation. The Gateway API site publishes conformance reports for implementations.
- A cluster on ingress-nginx: the announcement's recommendation to every user is to start migrating now, to Gateway API or to another Ingress controller.
- Another Ingress controller: the Ingress API remains GA, and the project has no plans to remove it.
- Several teams on shared load balancing: the Gateway API documentation calls the Ingress API "not well-suited for multi-team clusters with shared load-balancing infrastructure".
Sources
Want a second pair of eyes on yours? We do this work for a living.
More guides

Kubernetes network policies: start with default deny
Security · 4 min read
A default-deny manifest, an allow rule for DNS, and the documented way to test a policy.

Rolling, blue-green or canary: choosing a deployment strategy
CI/CD · 2 min read
What each strategy does, what it needs, and how to pick one.

Kubernetes upgrades: a checklist for every minor version
Kubernetes · 4 min read
What to check before, during and after a minor version upgrade, in the order to do it.