talira

Traefik Proxy

The Cloud Native Application Proxy

open sourceMITself-hostablefree

Traefik Proxy is an open source reverse proxy, load balancer and Kubernetes ingress controller from Traefik Labs that configures itself: it watches providers such as Docker, Swarm, Kubernetes, Amazon ECS, Consul and files, and updates its routes in real time without restarts. It handles HTTP, HTTP/2, HTTP/3, TCP, UDP, WebSockets and gRPC, gets and renews Let's Encrypt certificates (including wildcards), and has middlewares for load balancing, rate limiting, circuit breakers, retries, mirroring and authentication, plus WebAssembly plugins, metrics, tracing and a web dashboard. It ships as a single Go binary and Docker image under the MIT licence; Traefik Labs sells support and its Traefik Hub gateway products separately.

Ways to install

Problems it solves

  • stop editing proxy config every time I add or remove a Docker container
  • route subdomains to my containers automatically from Docker labels
  • get Let's Encrypt certificates, including wildcards, for every service without a separate tool
  • pick an ingress controller for my Kubernetes cluster that also supports the Gateway API
  • migrate off ingress-nginx annotations to a maintained ingress controller
  • the Ingress NGINX controller our cluster runs was retired and I need a maintained replacement that keeps our existing Ingress resources working
  • do blue-green and canary releases by shifting traffic weights between services
  • rate limit and add retries and circuit breakers in front of my microservices
  • proxy TCP and UDP services as well as HTTP through one entry point
  • put forward authentication in front of apps using an external auth service
  • see live routing and traffic metrics in Prometheus and Grafana
  • run a reverse proxy across Docker Swarm, Nomad or bare-metal servers with the same config model

Features

  • automatic service discovery from Docker, Swarm, Kubernetes, ECS, Consul, key-value stores and files
  • configuration updates without restarts
  • HTTP, HTTP/2, HTTP/3, TCP, UDP, WebSockets and gRPC
  • Let's Encrypt (ACME) certificates including wildcards, and user-defined certificates
  • Kubernetes Ingress, Gateway API and Ingress-NGINX annotations support
  • middlewares: load balancing, rate limiting, circuit breakers, retries, buffering, compression, headers, mirroring, authentication
  • blue-green and canary deployments with weighted routing
  • WebAssembly (WASM) plugins and a public plugin catalog
  • metrics (Prometheus, Datadog, StatsD, InfluxDB), OpenTelemetry tracing and access logs
  • web dashboard and REST API
View 2 more
  • single Go binary and official Docker image
  • Kubernetes Ingress NGINX provider that translates NGINX annotations, with a zero-downtime migration guide from Ingress NGINX Controller

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what Traefik Proxy does.

  1. caddy-docker-proxy Caddy as a reverse proxy for Docker
  2. SWAG Secure Web Application Gateway: Nginx with Certbot and fail2ban in one container
  3. Zoraxy A general purpose HTTP reverse proxy and forwarding tool
  4. Envoy Gateway Manages Envoy Proxy as a Standalone or Kubernetes-based Application Gateway
  5. Caddy The Ultimate Server with Automatic HTTPS
  6. Nginx Proxy Manager Expose your services easily and securely

Compare Traefik Proxy with the top 3