talira

Envoy Gateway

Manages Envoy Proxy as a Standalone or Kubernetes-based Application Gateway

open sourceApache-2.0self-hostablefree

Envoy Gateway is the Envoy Proxy project's own controller for running Envoy as an API or application gateway, configured with the Kubernetes Gateway API: it watches Gateway, HTTPRoute, GRPCRoute, TCPRoute and the other Gateway API resources and provisions and configures the Envoy proxies that serve them. Its own policy resources add what the Gateway API leaves out: BackendTrafficPolicy (retries, timeouts, circuit breaking, rate limiting), ClientTrafficPolicy, SecurityPolicy (JWT, OIDC, API keys, external authorization, allow and deny rules) and extensions in Wasm, Lua or external processing. It installs with a Helm chart, comes with the egctl CLI, and has an experimental standalone mode that runs Envoy as a host process without Kubernetes. Apache-2.0, part of the CNCF's Envoy project.

Ways to install

Problems it solves

  • use the Kubernetes Gateway API instead of Ingress resources for traffic into our cluster
  • a replacement for ingress-nginx built on Envoy that implements the Gateway API
  • run Envoy as an API gateway without writing raw Envoy xDS configuration
  • rate limit API clients globally across all gateway replicas
  • require JWT or OIDC login at the gateway before requests reach our services
  • call an external authorization service for every request at the edge of the cluster
  • set retries, timeouts and circuit breakers per route in Kubernetes
  • route gRPC, TCP and UDP traffic through the same gateway as HTTP
  • extend the gateway with WebAssembly or Lua filters
  • give each team its own HTTPRoutes while the platform team owns the shared Gateway
  • an open source API gateway for Kubernetes that isn't tied to one vendor

Features

  • implements the Kubernetes Gateway API: Gateway, HTTPRoute, GRPCRoute and TCP, TLS and UDP routes
  • BackendTrafficPolicy, ClientTrafficPolicy and SecurityPolicy extension resources
  • global and local rate limiting
  • JWT, OIDC and API key authentication, external authorization and allow or deny rules
  • Wasm and Lua extensions and external processing
  • dynamically provisions and configures the managed Envoy proxies
  • egctl CLI
  • Helm chart at oci://docker.io/envoyproxy/gateway-helm; also Kubernetes YAML, Argo CD or Flux
  • experimental standalone mode with a file provider and Envoy as a host process
  • published compatibility matrix of Envoy, Gateway API and Kubernetes versions per release

Limitations

  • No production support outside Kubernetes: standalone mode on bare metal or VMs is experimental and the docs say not to use it in production3

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what Envoy Gateway does.

  1. Kong Gateway The API and AI Gateway
  2. Contour High performance ingress controller for Kubernetes
  3. NGINX Gateway Fabric An implementation of the Gateway API using NGINX as the data plane
  4. Apache APISIX The Cloud-Native API Gateway and AI Gateway
  5. Emissary-ingress open source Kubernetes-native API gateway for microservices built on the Envoy Proxy
  6. Cilium eBPF-based Networking, Security, and Observability

Compare Envoy Gateway with the top 3