# traefik/traefik

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/traefik-traefik).**

63,644 stars · 6,042 forks · Go · MIT

## Links

- GitHub: https://github.com/traefik/traefik
- Homepage: https://traefik.io
- awesome-repositories: https://awesome-repositories.com/repository/traefik-traefik.md

## Topics

`consul` `docker` `etcd` `go` `golang` `kubernetes` `letsencrypt` `load-balancer` `marathon` `mesos` `microservice` `reverse-proxy` `traefik` `zookeeper`

## Description

Traefik is a cloud-native edge router and API gateway designed to manage service communication and traffic flow across distributed infrastructure. It functions as a dynamic service proxy that automatically discovers backend services and configures routing rules in real time, eliminating the need for manual restarts or complex configuration updates. By integrating directly with container orchestrators and service registries, it maintains a consistent state for network traffic, load balancing, and security policy enforcement.

The project distinguishes itself through its deep integration with diverse infrastructure providers, including container runtimes, cloud platforms, and service meshes. It utilizes a declarative configuration model that allows users to define routing and security policies as version-controlled code, facilitating GitOps workflows and automated infrastructure synchronization. Additionally, it features a specialized AI gateway that provides content guarding and semantic response caching to optimize performance and ensure regulatory compliance for AI-driven services.

Beyond core routing, the platform offers a comprehensive suite of tools for API lifecycle management, including performance monitoring, distributed tracing, and integrated web application firewall protection. It also provides API mocking capabilities, allowing developers to simulate production-like environments for testing and integration. These features are unified under a centralized control plane that supports federated governance across hybrid and multi-cloud environments.

## Tags

### DevOps & Infrastructure

- [API Gateways](https://awesome-repositories.com/f/devops-infrastructure/api-gateways.md) — Centralizes traffic routing, security policy enforcement, and communication management for backend services.
- [API Traffic Management](https://awesome-repositories.com/f/devops-infrastructure/api-service-management/api-management/api-traffic-management.md) — Governs service-to-service communication through centralized authentication, protocol support, and extensible middleware plugins. ([source](https://traefik.io/traefik-hub-api-gateway))
- [Load Balancing](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/networking/load-balancing.md) — Spreads incoming network traffic across multiple application instances using flexible load balancing policies. ([source](https://doc.traefik.io/traefik/providers/kubernetes-crd/))
- [Configuration and Policy Enforcement](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/configuration-policy-enforcement.md) — Synchronizes system state by continuously aligning infrastructure settings with version-controlled configuration files.
- [Container Label Routing](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/networking/routing/container-label-routing.md) — Uses container metadata labels to define and automate complex traffic routing rules. ([source](https://doc.traefik.io/traefik/providers/docker/))
- [Kubernetes API Providers](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/platforms/kubernetes-ecosystem/kubernetes-api-providers.md) — Integrates with cluster APIs to enable automated service discovery and dynamic traffic routing. ([source](https://doc.traefik.io/traefik/providers/kubernetes-crd/))
- [Container Orchestration Providers](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/cluster-service-orchestration/container-orchestration-providers.md) — Connects to container runtimes to automatically discover services and route traffic based on infrastructure changes. ([source](https://doc.traefik.io/traefik/providers/docker/))
- [Federated API Governance](https://awesome-repositories.com/f/devops-infrastructure/api-service-management/api-management/federated-api-governance.md) — Standardizes security policies and configuration governance across diverse, distributed API environments. ([source](https://traefik.io/traefik-hub))
- [Cluster and Service Orchestration](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/cluster-service-orchestration.md) — Coordinates service discovery and dynamic traffic routing across distributed infrastructure for reliable communication. ([source](https://cdn.jsdelivr.net/gh/traefik/traefik@master/README.md))
- [Kubernetes Operations Automation](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/cluster-service-orchestration/kubernetes-operations-automation.md) — Simplifies cluster maintenance by automating the deployment and observability configuration of ingress services. ([source](https://traefik.io/solutions/microsoft-and-traefik))
- [Dynamic Configuration Providers](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/infrastructure-as-code/management/infrastructure-configuration/dynamic-configuration-providers.md) — Applies routing and middleware adjustments instantly by watching configuration sources without requiring service restarts. ([source](https://doc.traefik.io/traefik/providers/file/))
- [Configuration Synchronization Services](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/infrastructure-as-code/management/infrastructure-orchestration/configuration-synchronization-services.md) — Maintains consistent routing states across hybrid environments to ensure seamless scaling and infrastructure alignment. ([source](https://traefik.io/traefik-hub-api-gateway))
- [Container Orchestration Integrations](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/infrastructure-as-code/management/infrastructure-orchestration/container-orchestration-integrations.md) — Hooks into container orchestration platforms to automate service discovery and load balancing setup. ([source](https://traefik.io/blog/5-qualities-all-api-gateways-need-in-2024))
- [GitOps Deployment Management](https://awesome-repositories.com/f/devops-infrastructure/cicd-pipeline-automation/gitops-tools/gitops-deployment-management.md) — Applies configuration changes automatically from version control to ensure traceable and repeatable deployments. ([source](https://traefik.io/blog/implementing-runtime-api-governance-in-traefik-hub))
- [Declarative Configuration Management](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/infrastructure-as-code/configuration-management/declarative-configuration-management.md) — Defines infrastructure state through version-controlled files to automate deployments and simplify auditing. ([source](https://traefik.io/blog/5-qualities-all-api-gateways-need-in-2024))
- [Managed Kubernetes Gateways](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/cluster-service-orchestration/managed-kubernetes-gateways.md) — Manages ingress traffic on managed clusters using native resource definitions to eliminate operational overhead. ([source](https://traefik.io/solutions/oracle-and-traefik))
- [API Documentation Publishing](https://awesome-repositories.com/f/devops-infrastructure/api-service-management/api-management/api-documentation-publishing.md) — Publishes API specifications to centralized portals to improve developer discovery and service consumption. ([source](https://traefik.io/traefik-hub))
- [API Operations Automation](https://awesome-repositories.com/f/devops-infrastructure/api-service-management/api-management/api-operations-automation.md) — Simplifies routine maintenance tasks like configuration updates and scaling through automated workflows tailored for cloud-native environments. ([source](https://traefik.io/traefik-hub))
- [Traffic Control](https://awesome-repositories.com/f/devops-infrastructure/api-service-management/service-mesh/traffic-control.md) — Improves system availability through load balancing, circuit breakers, and observability for complex service-to-service communication.
- [Deployment Automation Tools](https://awesome-repositories.com/f/devops-infrastructure/ci-cd-pipelines/deployment-automation-tools.md) — Facilitates progressive deployment strategies and real-time monitoring to ensure service stability while moving instances to newer versions. ([source](https://doc.traefik.io/traefik/migrate/v2-to-v3/))

### Networking & Communication

- [Ingress Controllers](https://awesome-repositories.com/f/networking-communication/ingress-controllers.md) — Regulates external access to cluster services through automated traffic routing and load balancing.
- [Dynamic Service Proxies](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-infrastructure-configuration/network-infrastructure/dynamic-service-proxies.md) — Refreshes routing rules and service discovery mappings in real time without requiring manual service restarts.
- [Cloud-Native](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-routing-traffic-management/edge-routers/cloud-native.md) — Delivers high-performance routing tailored for dynamic, containerized, and distributed infrastructure environments.
- [Edge Traffic Management](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-routing-traffic-management/network-routing/edge-traffic-management.md) — Executes load balancing, security enforcement, and protocol termination at the network edge for distributed systems. ([source](https://cdn.jsdelivr.net/gh/traefik/traefik@master/README.md))
- [Automated Traffic Routing](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-routing-traffic-management/network-traffic-management/automated-traffic-routing.md) — Steers network traffic to appropriate microservices by automatically discovering destinations without manual intervention. ([source](https://cdn.jsdelivr.net/gh/traefik/traefik@master/README.md))
- [Edge Routing](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-routing-traffic-management/network-traffic-management/edge-routing.md) — Routes external web traffic to internal services by automatically discovering infrastructure components.
- [Service Traffic Routing](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-routing-traffic-management/network-traffic-management/service-traffic-routing.md) — Orchestrates service discovery and deployment patterns like canary or blue-green releases to maintain high availability. ([source](https://traefik.io/traefik-hub-api-gateway))
- [API Gateway Configurations](https://awesome-repositories.com/f/networking-communication/api-integration-frameworks/api-management-integration/api-gateways/api-gateway-configurations.md) — Provides a unified interface for defining routing rules, security policies, and traffic management configurations. ([source](https://traefik.io/blog/5-qualities-all-api-gateways-need-in-2024))
- [Load Balancers](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-proxying-tools/network-proxies/load-balancers.md) — Distributes network traffic across multiple backend instances to ensure high availability and optimal performance.
- [Dynamic Provider Discovery](https://awesome-repositories.com/f/networking-communication/distributed-systems-p2p/distributed-systems-coordination/service-discovery-mechanisms/dynamic-provider-discovery.md) — Detects service changes by polling infrastructure APIs to update routing tables in real time.
- [Consul Service Discovery](https://awesome-repositories.com/f/networking-communication/distributed-systems-p2p/distributed-systems-coordination/service-discovery-mechanisms/consul-service-discovery.md) — Monitors service health and updates routing tables dynamically by integrating with service registry backends. ([source](https://traefik.io/solutions/hashicorp-and-traefik))
- [Middleware-Based Request Pipelines](https://awesome-repositories.com/f/networking-communication/communication-protocols-architectures/request-processing-architectures/request-processing/middleware-based-request-pipelines.md) — Intercepts and modifies network requests using modular component chains for authentication and traffic shaping.
- [API Gateway Platforms](https://awesome-repositories.com/f/networking-communication/api-integration-frameworks/api-management-integration/api-gateways/api-gateway-platforms.md) — Functions as a centralized control plane for governing service communication, authentication, and traffic across hybrid and multi-cloud architectures.

### Artificial Intelligence & ML

- [AI Content Guarding](https://awesome-repositories.com/f/artificial-intelligence-ml/language-model-orchestration/ai-content-guarding.md) — Filters sensitive data and harmful content within AI model traffic to uphold governance standards. ([source](https://traefik.io/blog/ai-gateways-the-missing-piece-in-scalable-responsible-ai-inferencing))
- [Semantic Caching Systems](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-inference-serving/request-routing-gateways/semantic-caching-systems.md) — Caches model responses based on query semantics to minimize redundant computation and lower inference latency. ([source](https://traefik.io/blog/ai-gateways-the-missing-piece-in-scalable-responsible-ai-inferencing))

### Security & Cryptography

- [API Security](https://awesome-repositories.com/f/security-cryptography/network-infrastructure-security/web-network-security/api-security.md) — Secures API endpoints by applying traffic inspection and defensive policies against unauthorized access. ([source](https://traefik.io/traefik-hub))
- [Container Daemon Security](https://awesome-repositories.com/f/security-cryptography/network-infrastructure-security/container-security/container-daemon-security.md) — Limits the host attack surface by proxying and filtering access to container runtime sockets. ([source](https://doc.traefik.io/traefik/providers/docker/))
- [Native API Security](https://awesome-repositories.com/f/security-cryptography/network-infrastructure-security/web-network-security/web-application-firewalls/native-api-security.md) — Embeds high-performance firewall capabilities directly into the traffic path to secure API endpoints without external dependencies. ([source](https://traefik.io/blog/exploring-traefiks-waf-integration-and-how-to-make-it-23x-faster))
- [Secrets Management](https://awesome-repositories.com/f/security-cryptography/identity-access-management/secrets-management.md) — Automates the lifecycle of security certificates and sensitive credentials by interfacing with dedicated management vaults. ([source](https://traefik.io/solutions/hashicorp-and-traefik))
- [WAF Plugin Deployments](https://awesome-repositories.com/f/security-cryptography/network-infrastructure-security/web-network-security/web-application-firewalls/waf-plugin-deployments.md) — Deploys standards-compliant security modules to protect web applications from common injection and traffic-based threats. ([source](https://traefik.io/blog/exploring-traefiks-waf-integration-and-how-to-make-it-23x-faster))

### System Administration & Monitoring

- [Performance Monitoring Tools](https://awesome-repositories.com/f/system-administration-monitoring/performance-monitoring-tools.md) — Exposes granular metrics and distributed tracing data to visualize service health and traffic latency. ([source](https://traefik.io/traefik-hub-api-gateway))
- [Logging and Telemetry](https://awesome-repositories.com/f/system-administration-monitoring/logging-and-telemetry.md) — Streams real-time traffic logs and performance telemetry to external monitoring platforms for deeper analysis. ([source](https://traefik.io/solutions/oracle-and-traefik))
- [Automated Incident Response Workflows](https://awesome-repositories.com/f/system-administration-monitoring/incident-management/automated-incident-response-workflows.md) — Automates service recovery by rolling back to stable versions and utilizing telemetry data to pinpoint the root cause of production incidents. ([source](https://traefik.io/blog/revolutionizing-api-operations-a-dive-into-gitops-based-api-management))

### Part of an Awesome List

- [Infrastructure and Orchestration](https://awesome-repositories.com/f/awesome-lists/devops/infrastructure-and-orchestration.md) — Cloud-native application proxy and edge router.
- [Networking and Proxying](https://awesome-repositories.com/f/awesome-lists/devops/networking-and-proxying.md) — Reverse proxy and load balancer with native service discovery.
- [Service Mesh And Gateways](https://awesome-repositories.com/f/awesome-lists/devops/service-mesh-and-gateways.md) — Acts as a modern HTTP reverse proxy and load balancer.
- [API Gateways](https://awesome-repositories.com/f/awesome-lists/devtools/api-gateways.md) — Declarative application proxy with enterprise-grade access control.
- [Network and Security](https://awesome-repositories.com/f/awesome-lists/security/network-and-security.md) — Cloud-native reverse proxy and load balancer for services.

### Software Engineering & Architecture

- [Configuration and Dependency Systems](https://awesome-repositories.com/f/software-engineering-architecture/software-architecture/configuration-dependency-systems.md) — Adapts internal routing logic instantly in response to infrastructure events without interrupting active connections.

### Development Tools & Productivity

- [API Mocking Services](https://awesome-repositories.com/f/development-tools-productivity/api-development-tools/api-mocking-services.md) — Simulates production behaviors like rate limiting and latency to facilitate comprehensive development testing. ([source](https://traefik.io/solutions/api-mocking))

### Operating Systems & Systems Programming

- [Cross-Platform Ingress Management](https://awesome-repositories.com/f/operating-systems-systems-programming/platform-development-integration/platform-integrations/cross-platform-ingress-management.md) — Unifies traffic management across virtual machines and containers by discovering services and applying consistent routing and security policies. ([source](https://traefik.io/solutions/nutanix-and-traefik))
