Kubernetes Overview
The Kubernetes Ingress Controller - Three Ways to Route Traefik integrates seamlessly with Kubernetes through three different providers, each offering different levels of features and complexity.Three Provider Options
CRD Provider
Most PowerfulCustom Resources for advanced routing, TCP/UDP, middleware, and more.Provider name:
kubernetescrdGateway API
Future StandardKubernetes SIG standard with role-based configuration and advanced features.Provider name:
kubernetesgatewayIngress
Most CompatibleStandard Kubernetes Ingress with annotation-based configuration.Provider name:
kubernetesQuick Comparison
| Feature | Ingress | CRD | Gateway API |
|---|---|---|---|
| HTTP Routing | ✅ | ✅ | ✅ |
| HTTPS/TLS | ✅ | ✅ | ✅ |
| TCP Routing | ❌ | ✅ | ✅ |
| UDP Routing | ❌ | ✅ | ❌ |
| Middleware | Via Annotations | Native CRDs | Limited |
| Configuration Method | Annotations | Custom Resources | Gateway API Resources |
| Learning Curve | Low | Medium | Medium |
| Kubernetes Standard | ✅ | ❌ | ✅ (Future) |
Which Provider Should I Use?
- CRD Provider
- Gateway API
- Ingress
Choose CRD when you need:✅ Full Traefik feature set (TCP, UDP, middleware)
✅ Type-safe Kubernetes resources
✅ Advanced routing capabilities
✅ IngressRoute abstraction
✅ Type-safe Kubernetes resources
✅ Advanced routing capabilities
✅ IngressRoute abstraction
Installation
Using Helm (Recommended)
Manual Installation
Common Configuration
Enable Multiple Providers
Namespace Filtering
Limit which namespaces Traefik watches:Label Selector
Filter resources by labels:Example: Complete Application Deployment
Migration Paths
From Ingress to CRD
From CRD to Gateway API
Similar process - enable both providers during migration.Provider-Specific Documentation
CRD Provider
IngressRoute, Middleware, and other custom resources
Gateway API
Gateway, HTTPRoute, and Gateway API configuration
Ingress
Standard Kubernetes Ingress with Traefik annotations