talira

NGINX Gateway Fabric

An implementation of the Gateway API using NGINX as the data plane

open coreApache-2.0self-hostablefree

NGINX Gateway Fabric is F5's implementation of the Kubernetes Gateway API with NGINX as the data plane, for HTTP and TCP/UDP load balancing, reverse proxying and API gateway use in a cluster. Its control plane watches GatewayClass, Gateway, HTTPRoute, GRPCRoute, TLSRoute, TCPRoute, UDPRoute and related resources, creates a separate NGINX Deployment and Service for each Gateway, and pushes configuration to it through NGINX Agent; its own policy resources cover client and upstream settings, rate limiting, session persistence, tracing and NGINX snippets. The controller is Apache-2.0 and runs open source NGINX; with an NGINX Plus licence it adds dynamic upstreams without reloads, active health checks, JWT and OIDC authentication, extra metrics and F5 support, and F5 WAF for NGINX is a separate add-on. It installs with a Helm chart or manifests, also on OpenShift.

Ways to install

Problems it solves

  • move from Ingress resources to the Kubernetes Gateway API but keep NGINX as the proxy
  • a replacement for the retired ingress-nginx controller that implements the Gateway API
  • give each team its own HTTPRoutes while the platform team owns the shared Gateway
  • route gRPC, TLS passthrough, TCP and UDP traffic into Kubernetes with standard resources
  • provision a separate NGINX deployment for each Gateway so tenants don't share a proxy
  • rate limit and persist sessions for routes in Kubernetes without hand-written NGINX config
  • add JWT or OIDC authentication at the cluster edge with NGINX Plus
  • put a WAF in front of services running in our Kubernetes cluster using F5's NGINX WAF
  • add raw NGINX directives to a route when the Gateway API doesn't cover what we need
  • trace requests through our Kubernetes gateway with OpenTelemetry
  • a Gateway API controller from the NGINX vendor that is supported on OpenShift
  • update upstream endpoints as pods scale without reloading NGINX

Features

  • Gateway API: GatewayClass, Gateway, HTTPRoute, GRPCRoute, ReferenceGrant, TLSRoute, TCPRoute, UDPRoute, BackendTLSPolicy, ListenerSet
  • separate control plane; a dedicated NGINX data plane Deployment and Service per Gateway
  • configures NGINX through NGINX Agent
  • policies for client settings, upstream settings, proxy settings, rate limiting, session persistence and tracing
  • SnippetsFilter for custom NGINX configuration and AuthenticationFilter
  • NGINX Plus option: dynamic upstreams, active health checks, latency-aware load balancing, JWT and OIDC, live dashboard and extra Prometheus metrics
  • F5 WAF for NGINX integration (separate subscription)
  • Helm chart at oci://ghcr.io/nginx/charts/nginx-gateway-fabric, manifests and OpenShift install
  • published compatibility matrix of Gateway API, Kubernetes, NGINX and NGINX Plus versions

Limitations

  • No HTTPRoute timeouts or retries: NGINX Gateway Fabric's Gateway API compatibility page lists both as not supported2

Ways to run it

NGINX Gateway Fabric with NGINX Open Source

You run it, Apache-2.0

free13

Not included

  • dynamic upstreams without reloads, active health checks, JWT and OIDC authentication, which need NGINX Plus
  • F5 support

You arrange

  • a Kubernetes cluster with the Gateway API standard channel CRDs installed

Self-hosting docs

NGINX Gateway Fabric with NGINX Plus

You run it, under a commercial licence

Price not published13

Only in this edition

  • dynamic upstream reconfiguration without reloads
  • active health checks
  • latency-aware load balancing
  • JWT and OIDC authentication
  • live monitoring dashboard and extra Prometheus metrics
  • support from F5

You arrange

  • an NGINX Plus licence JWT, a registry pull secret and a licence secret
  • a separate subscription for F5 WAF for NGINX

Self-hosting docs

Alternatives

The same job

These do what NGINX Gateway Fabric does.

  1. Envoy Gateway Manages Envoy Proxy as a Standalone or Kubernetes-based Application Gateway
  2. Traefik Proxy The Cloud Native Application Proxy
  3. Kong Gateway The API and AI Gateway
  4. Apache APISIX The Cloud-Native API Gateway and AI Gateway
  5. Contour High performance ingress controller for Kubernetes
  6. F5 NGINX Ingress Controller A production-grade Ingress Controller for Kubernetes, powered by NGINX or NGINX Plus.

Compare NGINX Gateway Fabric with the top 3