High performance ingress controller for Kubernetes
open sourceApache-2.0self-hostablefree
Contour is an ingress controller for Kubernetes that deploys the Envoy proxy as its reverse proxy and load balancer and reconfigures it dynamically, without restarts. It accepts three configuration APIs: the standard Ingress resource, its own HTTPProxy custom resource (which adds safe delegation of routes and TLS certificates between teams in a shared cluster) and the Kubernetes Gateway API, for which a Gateway Provisioner creates Contour and Envoy instances from Gateway resources. Its docs cover TLS termination and upstream TLS, rate limiting, external authorization, JWT verification, IP filtering, CORS, websockets, gRPC and Prometheus metrics. It's a CNCF incubating project under Apache-2.0.
Ways to install
On Kubernetes
Problems it solves
- pick an Envoy-based ingress controller for our Kubernetes cluster
- let each team manage routes for its own hostnames without being able to break other teams' traffic
- move off ingress-nginx to a maintained ingress controller
- use the Gateway API instead of Ingress annotations to route traffic into the cluster
- delegate a wildcard TLS certificate to app namespaces without copying the secret everywhere
- change routing rules without restarting or dropping connections on the load balancer
- rate limit requests at the edge of our Kubernetes cluster
- require a JWT or an external auth check before requests reach our services
- expose gRPC and websocket services from Kubernetes behind one load balancer
- an ingress richer than plain Kubernetes Ingress without dozens of vendor annotations
- allow or block client IP ranges per route on our cluster ingress
- Prometheus metrics for every route coming into the cluster
Features
- Ingress v1, HTTPProxy custom resource and Gateway API support
- Gateway Provisioner that creates Contour and Envoy instances from Gateways
- route inclusion and delegation across namespaces
- TLS termination, upstream TLS and TLS certificate delegation
- dynamic Envoy reconfiguration without restarts
- local and global rate limiting
- external authorization and JWT verification
- IP filtering, CORS, request rewriting and cookie rewriting
- websockets and gRPC services
- upstream health checks and slow start mode
View 2 more
- access logging, tracing and Prometheus metrics
- deploys as a Deployment or DaemonSet; YAML, Helm or the provisioner
Alternatives
The same job
These do what Contour does.
- Envoy Gateway Manages Envoy Proxy as a Standalone or Kubernetes-based Application Gateway
- Traefik Proxy The Cloud Native Application Proxy
- F5 NGINX Ingress Controller A production-grade Ingress Controller for Kubernetes, powered by NGINX or NGINX Plus.
- HAProxy Kubernetes Ingress Controller HAProxy Ingress Controller for Kubernetes
- Istio Connect, secure, control, and observe services.
- Emissary-ingress open source Kubernetes-native API gateway for microservices built on the Envoy Proxy
