Cluster component
Traefik Proxy
Routes traffic from your domains to your services.
- Memory when idle
- about 30 MiB
- CI measures it once the app is ready and before any traffic. Leave room for more.
- Tested on
- x86 and ARM servers
- Installed by default
- Recommended
Introduction
Traefik Proxy receives requests from the internet and sends them to your services by domain. Zeabur OSS public domains, redirects and passwords use it, and cert-manager needs an ingress component in the cluster.
It serves Kubernetes Ingress objects and Gateway API routes (GatewayClass traefik), and it reads Traefik objects such as Middleware. Its IngressClass is the cluster default. Its Service keeps client addresses (externalTrafficPolicy: Local), so only nodes that run Traefik receive traffic. On a multi-node cluster, Traefik runs one pod per node, control-plane nodes included.
The component turns some things off. The dashboard is off. The chart creates no Gateway. Traefik objects cannot reference objects in other namespaces. The JSON access log keeps a short list of fields and never logs headers or query strings.
Traefik reads Services, Secrets and routes in every namespace, and writes the status of routes.
K3s and RKE2 ship their own Traefik. Zeabur OSS shows it as installed by the distribution. To change its settings, see Change settings of built-in components.
Use it
In Zeabur OSS, add a public domain on the service’s Networking tab. Zeabur OSS creates the Ingress or route for you. See Add public domains and HTTPS.
Templates that need it
Remove it
Removing Traefik stops all ingress. Ingress, HTTPRoute and Middleware objects stay, but nothing serves them, and the CRDs stay. cert-manager needs an ingress component, so Zeabur OSS refuses to remove Traefik while cert-manager is installed. Check that no public domain still needs it. See Remove components.
Troubleshooting
No domain answers
Run kubectl -n traefik get pods and kubectl -n traefik get service traefik. The Service needs an external address from the load balancer, and a Traefik pod must run on a node that receives traffic.
The GatewayClass is not accepted
Run kubectl describe gatewayclass traefik and read the condition’s reason.
Technical details
This release
- Provides
- ingress
- Licence
- MIT
- Homepage
- traefik.io
- Source file
- components/traefik/component.yaml @ v0.6.3
Tested in CI
CI installs these exact files on a new cluster, waits until they are ready, then records the idle memory.
| Distribution | Platform | Kubernetes | Passed | Idle memory |
|---|---|---|---|---|
| k3s | linux/amd64 | v1.37.2 | 27 MiB | |
| k3s | linux/arm64 | v1.37.2 | 26 MiB | |
| kind | linux/amd64 | v1.37.0 | 25 MiB | |
| kind | linux/arm64 | v1.37.0 | 24 MiB | |
| kubesolo | linux/amd64 | v1.36.6 | 22 MiB | |
| kubesolo | linux/arm64 | v1.36.6 | 25 MiB | |
| rke2 | linux/amd64 | v1.37.2 | 26 MiB | |
| rke2 | linux/arm64 | v1.37.2 | 26 MiB |
Security
Reads Services, Secrets and routes cluster-wide; writes route status.
What it installs
- gateway-api-crds v1.6.3
- traefik 42.1.3