Why Gateway API?
Limitations of Ingress
Section titled âLimitations of IngressâThe Kubernetes Ingress resource has long been the standard for L7 traffic management, but it has fundamental limitations:
- Lack of expressiveness: Header-based routing, traffic splitting (weight), mirroring, etc. are not in the standard spec, requiring annotation hell to implement
- Implementation lock-in: Annotations like
nginx.ingress.kubernetes.io/...only work with specific Ingress Controllers â no portability - No role separation: Infrastructure operators and application developers must modify the same resource
- Limited cross-namespace backend references: Ingress cannot directly reference a Service in another namespace through its standard API
Gateway API: The Successor to Ingress
Section titled âGateway API: The Successor to IngressâGateway API is the successor API to Ingress, designed by Kubernetes SIG-Network. Kubernetes recommends Gateway, but does not plan to remove the existing Ingress API.
Design Principles
Section titled âDesign Principlesâ- Role-oriented: Infrastructure provider â Cluster operator â Application developer, with resources separated by role
- Portable: CRD-based standard spec, resources remain the same even when switching implementations (Envoy, Istio, Traefik, etc.)
- Expressive: Header matching, traffic splitting, mirroring, etc. expressed natively without annotations
- Extensible: Each implementation can provide its own extension resources (EnvoyProxy, SecurityPolicy, etc.)
Ingress vs Gateway API
Section titled âIngress vs Gateway APIâ| Category | Ingress | Gateway API |
|---|---|---|
| Role separation | Single resource | GatewayClass (infra) â Gateway (ops) â HTTPRoute (dev) |
| Header routing | annotation | Native support |
| Traffic splitting | annotation | Native weight-based |
| Cross-namespace | Cannot directly reference a Service in another namespace | RouteâGateway attachment uses parentRefs + allowedRoutes; RouteâService in another namespace requires a ReferenceGrant in the target namespace |
| Portability | Implementation-dependent | Common spec; check extension features and support in each implementation |
| Protocols | HTTP/HTTPS only | HTTP, gRPC, TCP, UDP, TLS |
These are two separate cross-namespace approvals. For a Route to attach to a Gateway in another namespace, the Gateway listenerâs allowedRoutes must permit it. For an HTTPRoute backendRefs entry to point to a Service in another namespace, the owner of the Serviceâs namespace must create a ReferenceGrant there. Approval of the former does not automatically authorize the latter. See the Gateway API security model.
Resource Model
Section titled âResource ModelâGateway API consists of 4 Stable APIs:
| Resource | Role | Owner |
|---|---|---|
| GatewayClass | Defines a group of gateways with common configuration, designates controller | Infrastructure provider |
| Gateway | Defines the traffic-handling infrastructure instance (load balancer) | Cluster operator |
| HTTPRoute | Defines HTTP traffic routing rules | Application developer |
| GRPCRoute | Defines gRPC traffic routing rules | Application developer |
GatewayClass (Infrastructure) âââ Gateway (Operations â listeners, TLS) âââ HTTPRoute (Development â host, path, backend)Operational Case: A Declared Route Is Not a Successful Request
Section titled âOperational Case: A Declared Route Is Not a Successful RequestâA common misconception when adopting Gateway API is that traffic will flow as soon as an HTTPRoute resource exists. An actual request passes through Gateway API resource status, the Envoy data plane, and the backend Service and Endpoint in sequence. Instead of treating the problem as one undifferentiated âHTTPRoute does not workâ failure, separate it first by the layer that owns the failing point.
How role separation creates operational boundaries
Section titled âHow role separation creates operational boundariesâ| Layer | Decision it owns | Signal used to judge health | What a failure at this layer means |
|---|---|---|---|
GatewayClass | Which controller manages the Gateway | The controller accepts the class | Controller installation or class-connection problem |
Gateway | Listener, TLS, allowedRoutes | Gateway listener is Programmed and Accepted | Data-plane creation, listener, certificate, or route-admission-scope problem |
HTTPRoute | Hostname, path, backendRefs | Parent and backendRefs show Accepted and ResolvedRefs | parentRef, hostname, namespace delegation, or backend-reference problem |
| Backend Service | Delivery to the actual workload | Endpoint is ready and Envoy access logs show an upstream | Selector, port, readiness, or application-response problem |

This table does not only split roles on paper; it separates who must change what during an incident. Cluster operators own Gateway listeners and allowedRoutes, while application teams own the HTTPRoutes and backend Services in their namespaces. An application team cannot resolve a Route namespace that allowedRoutes rejects merely by editing its Route.
Verification order when a Route exists but traffic does not flow
Section titled âVerification order when a Route exists but traffic does not flowâThe following order generalizes the boundaries used in an Envoy Gateway NodePort validation environment. Resource names and ports differ by environment, so verify status and relationships rather than copying the example values unchanged.
- Check GatewayClass and Gateway first. Confirm that the controller accepts the GatewayClass and that the Gateway listener is
AcceptedandProgrammed. Until that is true, fixing an HTTPRoute or backend cannot prepare the external listener. - Check the HTTPRoute parent status. Confirm that
parentRefspoint to the intended Gateway and section, the Route namespace is permitted by the GatewayâsallowedRoutesrule, and the hostname is compatible with the listener hostname. - Check backendRefs. Inspect the Routeâs
ResolvedRefsstatus, the backend Service port, and Endpoint readiness. A Route can be accepted while still being unable to deliver a request because its Service name or port is wrong. If the backend is in another namespace, also check that aReferenceGrantin that namespace allows this Routeâs namespace and kind to reference the Service. - Check the data planeâs actual receive path. NodePort, Service
port, and the Envoy PodâstargetPortdo not need to be the same value. Confirm that the port Envoy actually listens on matches the targetPort selected by the Service. - Read the request together with the access log. Compare the request
Hostor:authority, the selectedupstream_host, andresponse_code_details. Avia_upstreamresponse means the Route reached the backend, so investigate the upstream application or proxy configuration before the Gateway.
What the verification commands are for
Section titled âWhat the verification commands are forâ# Confirm that the Gateway controller and listener accepted the configurationkubectl get gatewayclass,gateway -Akubectl describe gateway <gateway-name> -n <gateway-namespace>
# Confirm the HTTPRoute parent and backend-reference statuskubectl get httproute -Akubectl describe httproute <route-name> -n <application-namespace>
# Only for a backendRefs Service in another namespace: inspect its grantkubectl get referencegrant -n <backend-namespace>kubectl describe referencegrant <grant-name> -n <backend-namespace>
# Confirm backend readiness (for same-namespace refs, use application-namespace)kubectl get svc,endpoints -n <backend-namespace>
# Confirm that the Envoy data plane is connected to its external Servicekubectl get svc,ds -n <gateway-namespace>These commands are not merely for collecting status. The first two stages separate Gateway API control-plane acceptance, while the last two separate data-plane and backend execution state. Even if kubectl get looks healthy, validation is incomplete until an actual Host request is sent and the selected upstream is confirmed in the Envoy access log.
When not to apply Gateway API immediately
Section titled âWhen not to apply Gateway API immediatelyâGateway API is not always an immediate migration target. A bulk migration is risky when an existing Ingress has accumulated implementation-specific annotations and you have not verified that standard HTTPRoute resources or implementation policies can represent them equivalently. Also, allowedRoutes.namespaces.from: All is convenient for a shared Gateway but may allow Routes from every namespace to attach. Use from: Selector with namespace labels to define the actual tenant boundary. For a name-based allowlist, select the kubernetes.io/metadata.name label; there is no separate explicit-namespace-list from option. See the Gateway API security model.
The next step in this series is Envoy Gateway Setup, which separates controller and data-plane placement, followed by HTTPRoute Routing and Validation, which verifies the backend and access log path.
Community ingress-nginx retirement versus F5âs controller
Section titled âCommunity ingress-nginx retirement versus F5âs controllerâThe retirement concerns the Kubernetes communityâs kubernetes/ingress-nginx. In November 2025, SIG Network and the Security Response Committee announced best-effort maintenance through March 2026 and no further releases, bug fixes, or security updates afterward. Existing installs continue to run and artifacts remain available, but operators should consider migrating to an alternative controller or Gateway API.
The similarly named F5 NGINX Ingress Controller
Section titled âThe similarly named F5 NGINX Ingress Controllerâ- F5 NGINX Ingress Controller is separate from community
ingress-nginxand is not covered by that retirement announcement. The Kubernetes migration guide also distinguishes the two. - F5âs controller supports both NGINX Open Source and commercial NGINX Plus. Active Health Checks, JWT Validation, and some Session Persistence methods are Plus features; do not conflate their availability with the community controllerâs support lifecycle.
Why the community project is retiring
Section titled âWhy the community project is retiringâ- The official retirement announcement cites too few maintainers and security/maintenance burdens such as snippet annotations. It does not establish a general claim about response delays for specific incidents or reload performance in every environment.
- Before migrating, verify the real behavior of annotations, path matching, and rewrites. Similarly named features can behave differently in Ingress-NGINX and Gateway API.
Official Kubernetes Direction
Section titled âOfficial Kubernetes Directionâ- Kubernetes recommends Gateway, and the
IngressAPI is feature-frozen. This does not mean the Ingress API itself is being removed. - The community ingress-nginx retirement plan is not an EOS announcement for all Ingress APIs or F5âs product.
Implementation Comparison
Section titled âImplementation ComparisonâGateway API is the standard; there are multiple implementations:
| Implementation | Data Plane | Characteristics |
|---|---|---|
| Envoy Gateway | Envoy | CNCF, lightweight, fine-grained control via EnvoyProxy CR |
| Istio | Envoy | Service mesh integration, heavy |
| Traefik | Traefik | Own proxy, middleware chains |
| Cilium | eBPF | Network layer integration, high performance |
| NGINX Gateway Fabric | NGINX | F5, NGINX-based Gateway API implementation |
In this blog series, we validate using Envoy Gateway.
Conclusion: For new deployments, check the chosen Gateway API implementationâs actual feature support. If you use community ingress-nginx, validate existing behavior and migrate gradually to Gateway API or another maintained Ingress controller.