How To

Install Traefik Ingress Controller on Kubernetes with Helm

Traefik is the ingress controller to pick when you want routing driven by Kubernetes objects alone. Plain Ingress resources and its own IngressRoute CRDs work from one deployment, with Gateway API support one values switch plus its CRDs away, and a new route goes live without a reload. You install it with the official Helm chart and give it a LoadBalancer address.

Original content from computingforgeeks.com - post 76220

This guide installs Traefik Proxy v3.8.0 from Helm chart 43.0.0, exposes it through MetalLB, puts the dashboard behind basic auth and proves routing with a whoami test app. We also hit the chart’s renamed log keys on the way, so you will see that schema error before it stops your own upgrade. Every command below was run on a single node k3s cluster on Ubuntu 24.04 in December 2026.

Map the request path

The finished setup has one address facing the network. A request on port 80 hits the MetalLB LoadBalancer IP, the Service hands it to Traefik on container port 8000, and Traefik picks a backend by the Host header: the dashboard behind basic auth, or the whoami app behind a standard Ingress.

Traefik on Kubernetes architecture diagram: client to the MetalLB LoadBalancer on port 80, then Traefik 3.8 on 8000, routing to the basic auth dashboard and the whoami-svc Ingress

Everything after the LoadBalancer stays inside the cluster, so the only firewall rule you need on the node is for ports 80 and 443 to reach the MetalLB address. The Traefik pod also listens on 8080 for its internal API and on 9100 for metrics, but the chart keeps both off the Service, which is why the dashboard needs either a port-forward or its own route later on.

Set up a cluster without a bundled ingress

Any conformant cluster works as long as it runs Kubernetes 1.30 or newer, because chart 42.0.0 raised the floor to that release and chart 43 kept it. A cluster that already ships an ingress controller will fight Traefik for ports 80 and 443, so you need to remove that controller first or the Service never gets a clean address.

k3s is the common case here, since it bundles its own Traefik and a ServiceLB. We disabled both at install time so the Helm release owns Traefik and MetalLB owns the LoadBalancer addresses. The 644 kubeconfig mode lets any local user read the admin credentials, which is fine on a lab VM but not on a shared host. If you are starting from a bare VM, our k3s install guide for Ubuntu covers the rest of the node setup.

curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--disable traefik --disable servicelb --write-kubeconfig-mode 644" sh -
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml

Check that the node reports Ready before you go further, because every later step schedules pods onto it.

kubectl get nodes -o wide

Our lab node came up on k3s v1.37.3 with containerd 2.3.7, well above the chart’s minimum. The INTERNAL-IP column matters for the next step, because the MetalLB pool has to come from the same subnet as that address. If the node shows NotReady instead, wait a minute for the flannel CNI to start before you blame the install.

NAME                STATUS   ROLES           AGE   VERSION        INTERNAL-IP   EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION           CONTAINER-RUNTIME
traefik-lab-11756   Ready    control-plane   3s    v1.37.3+k3s1   10.128.0.26   <none>        Ubuntu 24.04.5 LTS   7.0.0-1021-gcp (amd64)   containerd://2.3.7-k3s1

On kubeadm, RKE2 or a managed cluster you can skip the k3s step. Just make sure no other controller already claims an IngressClass named traefik, because the chart creates that class and marks it as the cluster default.

Install MetalLB for a LoadBalancer IP

The chart exposes Traefik as a LoadBalancer Service. On EKS, GKE or AKS the cloud hands it an address on its own, so you can jump straight to the Helm section. On bare metal or a homelab VM nothing answers that request, and the Service sits at <pending> forever unless something like MetalLB is running.

MetalLB’s Layer 2 mode needs a real L2 network, because it announces the address with ARP. Most cloud VPCs ignore those announcements, so on a plain cloud VM the address works from the node and the cluster but not from your laptop. Our lab ran on a GCP VM, which is why the checks below run from the node with a Host header. On a homelab or bare metal LAN the same address answers from any machine.

To stay on the current release, look up the latest MetalLB tag from GitHub and apply that release’s native manifest.

METALLB_VER=$(curl -s https://api.github.com/repos/metallb/metallb/releases/latest | grep tag_name | cut -d '"' -f4)
echo $METALLB_VER
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/${METALLB_VER}/config/manifests/metallb-native.yaml

That resolved to v0.16.2 for us. MetalLB also needs a pool of free addresses on the node’s subnet, and they must sit outside your DHCP range, otherwise two machines end up answering for the same IP. Open a manifest for the pool.

vim metallb-pool.yaml

Our node lives on 10.128.0.0/20, so we set aside eleven addresses from that subnet that nothing else was using. Change the range to match your own network before you apply it.

apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
  name: first-pool
  namespace: metallb-system
spec:
  addresses:
  - 10.128.0.240-10.128.0.250
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
  name: l2-advert
  namespace: metallb-system
spec:
  ipAddressPools:
  - first-pool

Wait for the MetalLB pods before you apply the pool. The controller runs the admission webhook that validates these objects, so applying too early fails with a webhook connection error.

kubectl -n metallb-system rollout status deploy/controller --timeout=120s
kubectl apply -f metallb-pool.yaml
kubectl get pods -n metallb-system
kubectl get ipaddresspool -n metallb-system

You want the controller and one speaker per node Running, and the pool set to auto assign. A pool with auto assign off would leave Traefik pending until you request an address by hand.

NAME                          READY   STATUS    RESTARTS   AGE
controller-64c7c4854b-5pgd7   1/1     Running   0          26s
speaker-xh6b7                 1/1     Running   0          26s
NAME         AUTO ASSIGN   AVOID BUGGY IPS   ADDRESSES
first-pool   true          false             ["10.128.0.240-10.128.0.250"]

Layer 2 mode is enough for a lab or a small office cluster, because one node answers ARP for each address and failover takes a few seconds. BGP mode, multiple pools and shared addresses are in our full MetalLB setup guide if your network needs them.

Install Helm

Skip this section if helm version already answers on your workstation. Otherwise the upstream script detects your platform and installs the latest Helm 3 binary into /usr/local/bin, which is the quickest path on a fresh node.

curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
helm version

The script put Helm v3.22.1 on our node. Any recent Helm 3 release reads this chart, so you don’t need to match our exact build. A distro package can lag well behind upstream, though, so we’d still run the script on a node that already has an old Helm, because every output below comes from 3.22.

version.BuildInfo{Version:"v3.22.1", GitCommit:"d6c1a0e4027caa6abc7892e7ea9f0cda7447baa3", GitTreeState:"clean", GoVersion:"go1.26.9"}

The terminal below shows both checks side by side on the lab node, with MetalLB holding its pool and Helm ready to pull charts.

MetalLB controller and speaker pods running with the first-pool IPAddressPool and helm version output on k3s

Helm 4 is out as well. Our Helm install guide covers the newer major, but we ran every chart command in this guide with Helm 3, so that is the version these outputs come from.

Install Traefik with the Helm chart

The chart moved off the old helm.traefik.io address some time ago, and plenty of older guides still point there. Add the current repository instead and list the newest builds it carries.

helm repo add traefik https://traefik.github.io/charts
helm repo update
helm search repo traefik/traefik --versions | head -5

Three chart builds already ship Traefik v3.8.0, and the 42.x line still carries the 3.7 proxy. The chart version and the app version are separate numbers, so always read both columns before you pick one.

"traefik" has been added to your repositories
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "traefik" chart repository
Update Complete. ⎈Happy Helming!⎈
NAME                	CHART VERSION	APP VERSION	DESCRIPTION
traefik/traefik     	43.1.0       	v3.8.0     	A Traefik based Kubernetes ingress controller
traefik/traefik     	43.0.1       	v3.8.0     	A Traefik based Kubernetes ingress controller
traefik/traefik     	43.0.0       	v3.8.0     	A Traefik based Kubernetes ingress controller
traefik/traefik     	42.4.3       	v3.7.20    	A Traefik based Kubernetes ingress controller

We pinned 43.0.0, the first chart for Traefik 3.8. Pinning matters with this chart because its major version moves much faster than the proxy, and 43.0.1 and 43.1.0 both landed on December 4 on the same v3.8.0 image. An unpinned install picks whichever is newest on the day, so two clusters built a week apart can end up with different CRDs. Bump the version on the next line once you have read the newer notes.

kubectl create namespace traefik
helm install traefik traefik/traefik --namespace traefik --version 43.0.0 #https://github.com/traefik/traefik-helm-chart/releases

Helm reports revision 1 and names the image it deployed, which is the quickest proof that you got v3.8.0.

NAME: traefik
LAST DEPLOYED: Sat Dec  5 15:42:56 2026
NAMESPACE: traefik
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
traefik with docker.io/traefik:v3.8.0 has been deployed successfully on traefik namespace!

A deployed release only means Helm wrote the objects. Confirm that the rollout finished and that MetalLB handed the Service an address.

kubectl -n traefik rollout status deploy/traefik
kubectl get all -n traefik
helm list -n traefik

Read the EXTERNAL-IP column first. It took the first address in our pool, 10.128.0.240, and that is where every hostname you route through Traefik will point. If it still says pending after a minute, MetalLB has no usable pool, so go back and check the pool and L2Advertisement.

deployment "traefik" successfully rolled out
NAME                           READY   STATUS    RESTARTS   AGE
pod/traefik-696b9fbc45-9gtd8   1/1     Running   0          5s

NAME              TYPE           CLUSTER-IP    EXTERNAL-IP    PORT(S)                      AGE
service/traefik   LoadBalancer   10.43.67.58   10.128.0.240   80:31179/TCP,443:30624/TCP   5s

NAME                      READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/traefik   1/1     1            1           5s

NAME                                 DESIRED   CURRENT   READY   AGE
replicaset.apps/traefik-696b9fbc45   1         1         1       5s
NAME   	NAMESPACE	REVISION	UPDATED                                	STATUS  	CHART         	APP VERSION
traefik	traefik  	1       	2026-12-05 15:42:56.821495997 +0000 UTC	deployed	traefik-43.0.0	v3.8.0

Here is the same install as it looked in the terminal, from helm install through the Service picking up its LoadBalancer IP.

helm install of Traefik chart 43.0.0 and the traefik namespace resources with LoadBalancer IP

The chart also installed Traefik’s CRDs, all of them under the traefik.io or hub.traefik.io API groups. List them to confirm they registered.

kubectl get crd | grep traefik.io

We counted 25. That covers the core routing types such as ingressroutes, middlewares and tlsoptions, plus the Hub ones, which stay idle unless you license Traefik Hub. Helm installs CRDs on the first install but never upgrades them afterwards, so a later chart bump that changes them means applying the new CRDs yourself before the upgrade.

Traefik traefik.io CRDs installed by Helm chart 43 listed with kubectl get crd

That API group is the reason so many older Traefik manifests break today. Traefik v3 dropped the v2 traefik.containo.us group entirely, so the API server rejects any Middleware or IngressRoute copied from a 2.x tutorial. Change its first line to apiVersion: traefik.io/v1alpha1 and it applies again.

Check what chart 43 changed before you upgrade

If you already run Traefik through this chart, read the v43.0.0 release notes before you bump it. These changes, two from chart 43 and two carried over from chart 41, will catch an existing values file or cluster. Chart 43 also ships updated CRDs, and since Helm never upgrades CRDs, apply the new ones yourself before running helm upgrade.

  • Chart 43 supports Traefik Proxy v3.7.0 and newer only
  • Gateway API v1.7.0 CRDs go in before the move to 3.8
  • logs.general became log in chart 41
  • logs.access became accessLog in chart 41

The log key rename is the one that fails loudly. We fed the chart an old style values file with logs.general.level set, and the schema check refused the whole upgrade.

Error: UPGRADE FAILED: values don't meet the specifications of the schema(s) in the following chart(s):
traefik:
- at '': additional properties 'logs' not allowed

Nothing changes in the cluster when this happens, because Helm validates the values before it renders anything. Move the setting to the new top level key, log with level: INFO under it, and the same upgrade goes through.

helm upgrade failing with additional properties logs not allowed after the chart 41 log key rename

Coming from Traefik 3.1 or another older release, the full jump is a bigger job than one key. Our Traefik 3.8 upgrade walkthrough covers the values diff, the Gateway API CRD order and how long a rollback takes.

Open the Traefik dashboard

The dashboard API is enabled in chart 43, but the IngressRoute that exposes it is off by default. That is deliberate, because the dashboard lists every router, service and middleware in the cluster, and nobody wants that map public by accident. You have two ways in, depending on who needs it.

Use port-forward for a private look

For a quick look from your own workstation, turn the default route on. It binds to the internal traefik entrypoint on port 8080, which the Service never exposes, so the dashboard stays reachable only through kubectl. Create a small values file for it.

vim pf-values.yaml

Three lines are enough, since the chart already sets the match rule and entrypoint.

ingressRoute:
  dashboard:
    enabled: true

Apply it, then forward local port 8080 to the Traefik pod. The forward holds the terminal until you press Ctrl+C.

helm upgrade traefik traefik/traefik -n traefik --version 43.0.0 -f pf-values.yaml #https://github.com/traefik/traefik-helm-chart/releases
kubectl -n traefik port-forward deploy/traefik 8080:8080

From a second terminal, ask the API for its version and check the dashboard’s status code.

curl -s http://127.0.0.1:8080/api/version
curl -s -o /dev/null -w "%{http_code}\n" http://127.0.0.1:8080/dashboard/

The version call returned JSON naming 3.8.0 and the dashboard answered 200, so the route works. The API endpoint is the one to script against, since it answers with plain JSON and confirms which build is live without opening a browser.

{"Version":"3.8.0","Codename":"salers","startDate":"2026-12-05T15:43:00.436238133Z"}
200

Browse to http://127.0.0.1:8080/dashboard/, with the trailing slash, while the forward runs. This route is fine for one admin, but anyone else would need cluster credentials to see the dashboard.

Expose the dashboard on a hostname with basic auth

For a team, a real hostname behind a password is more practical. The chart has no basic auth switch of its own, so we create the Secret and the Middleware through extraObjects and point the dashboard route at them. Everything then sits in one values file that Helm owns, which means a rollback takes the auth with it.

vim dashboard-values.yaml

Replace traefik.example.com with your own hostname and pick a stronger password than ours. The file also carries the renamed log key from the section above.

log:
  level: INFO

ingressRoute:
  dashboard:
    enabled: true
    matchRule: Host(`traefik.example.com`)
    entryPoints: ["web"]
    middlewares:
      - name: traefik-dashboard-auth

extraObjects:
  - apiVersion: v1
    kind: Secret
    metadata:
      name: traefik-dashboard-auth-secret
      namespace: traefik
    type: kubernetes.io/basic-auth
    stringData:
      username: admin
      password: StrongAdminPassw0rd
  - apiVersion: traefik.io/v1alpha1
    kind: Middleware
    metadata:
      name: traefik-dashboard-auth
      namespace: traefik
    spec:
      basicAuth:
        secret: traefik-dashboard-auth-secret

The kubernetes.io/basic-auth Secret type lets Traefik read a plain username and password, so you do not need htpasswd or a hashed users list. Upgrade the release with the new file.

helm upgrade traefik traefik/traefik -n traefik --version 43.0.0 -f dashboard-values.yaml #https://github.com/traefik/traefik-helm-chart/releases

The new revision went out on the same image. Ours reads 2 because we ran this upgrade before the port-forward one, so yours will read one higher if you followed the order above. Because the values file replaces the port-forward one rather than adding to it, the dashboard route now lives on web only, which matters later when port 8080 stops answering.

Release "traefik" has been upgraded. Happy Helming!
NAME: traefik
LAST DEPLOYED: Sat Dec  5 15:43:27 2026
NAMESPACE: traefik
STATUS: deployed
REVISION: 2
TEST SUITE: None
NOTES:
traefik with docker.io/traefik:v3.8.0 has been deployed successfully on traefik namespace!

Test it from the shell before touching DNS. Passing the Host header makes Traefik match the route exactly as it would for a browser, so you can prove the auth works while the hostname still resolves nowhere.

curl -s -o /dev/null -w '%{http_code}\n' -H 'Host: traefik.example.com' http://10.128.0.240/dashboard/
curl -s -o /dev/null -w '%{http_code}\n' -u admin:StrongAdminPassw0rd -H 'Host: traefik.example.com' http://10.128.0.240/dashboard/
curl -s -u admin:StrongAdminPassw0rd -H 'Host: traefik.example.com' http://10.128.0.240/api/version

A 401 without credentials and a 200 with them is exactly what you want. A 404 on the first call would mean the Host rule did not match, which usually comes down to a typo in matchRule.

401
200
{"Version":"3.8.0","Codename":"salers","startDate":"2026-12-05T15:43:00.436238133Z"}

The capture below is the same check in the lab terminal, with the auth Middleware turning away the first request.

curl against the Traefik dashboard returning 401 without credentials and 200 with basic auth

For the browser, point the hostname at the LoadBalancer IP from a machine on the same L2 network as the cluster. Real DNS records are the right answer for a team, but a hosts entry on your workstation is fine while you test. On a cloud VM where the MetalLB address isn’t reachable from outside, stay with the port-forward method above or use the cloud’s own load balancer.

sudo vim /etc/hosts

Add one line carrying both hostnames this guide uses, so the whoami test later resolves too.

10.128.0.240 traefik.example.com whoami.example.com

Open http://traefik.example.com/dashboard/ and sign in as admin. The overview lists the four entrypoints the chart defines, along with counts for routers, services and middlewares.

Traefik 3.8 dashboard overview showing entrypoints, HTTP routers, services and middlewares on Kubernetes

Note the ports on those entrypoints. web listens on 8000 inside the pod and websecure on 8443, while the Service maps 80 and 443 onto them, so a container port in a log line is not a misconfiguration. Click the dashboard router to see the chain we built, with the web entrypoint, the basic auth middleware and the internal api@internal service.

Traefik dashboard router detail with the web entrypoint, basic auth middleware and api@internal service

The middleware shows up as traefik-traefik-dashboard-auth@kubernetescrd, because Traefik prefixes the namespace to the object name. A standard Ingress elsewhere can use it by that full name in its router.middlewares annotation, but an IngressRoute in another namespace cannot reference it at all, because chart 43 leaves providers.kubernetesCRD.allowCrossNamespace set to false. Keep the route and its middleware in the same namespace and you never hit that.

Test routing with a standard Ingress

IngressRoute CRDs are Traefik specific, but most charts you install from elsewhere ship a plain Kubernetes Ingress. That makes a standard Ingress the better test, since it proves Traefik will serve the apps you did not write. The traefik/whoami image echoes back the request it received, which is handy for checking headers.

Start with the Deployment. One replica is plenty for a routing test.

vim whoami.yaml

Paste the Deployment below. The app: whoami label is what the Service selects in the next file, so keep the two in step if you rename anything.

apiVersion: apps/v1
kind: Deployment
metadata:
  name: whoami
  labels:
    app: whoami
spec:
  replicas: 1
  selector:
    matchLabels:
      app: whoami
  template:
    metadata:
      labels:
        app: whoami
    spec:
      containers:
      - name: whoami
        image: traefik/whoami
        ports:
        - containerPort: 80

Next comes a ClusterIP Service in front of the pod. Traefik routes to Services rather than pods, so the Ingress has nothing to point at without it.

vim whoami-service.yaml

Port 80 on the Service maps to port 80 in the container. ClusterIP is enough here because only Traefik needs to reach the app, so nothing about whoami is exposed outside the cluster except through the Ingress.

apiVersion: v1
kind: Service
metadata:
  name: whoami-svc
  labels:
    app: whoami
spec:
  type: ClusterIP
  selector:
    app: whoami
  ports:
  - port: 80
    targetPort: 80

Finally, write the Ingress itself. This is the only object Traefik reads directly. It watches every Ingress whose class is traefik, turns each host and path rule into a router, and points that router at the Service you name, so there is no Traefik config file to edit when apps come and go.

vim whoami-ingress.yaml

The annotation pins the router to the web entrypoint. Leave it out and Traefik attaches the router to every HTTP entrypoint except its internal traefik one, because chart 43 marks none of them as default. You then get extra copies of the route on websecure, served with Traefik’s self-signed default certificate, and on the metrics entrypoint too.

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: whoami-http
  annotations:
    traefik.ingress.kubernetes.io/router.entrypoints: web
spec:
  ingressClassName: traefik
  rules:
  - host: whoami.example.com
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: whoami-svc
            port:
              number: 80

Apply all three files in one go, then look at what the cluster made of them. The order doesn’t matter, since Traefik just waits for the Service to have endpoints before it sends traffic.

kubectl apply -f whoami.yaml -f whoami-service.yaml -f whoami-ingress.yaml
kubectl get pods,svc -l app=whoami
kubectl get ingress
kubectl get ingressclass

The Ingress picked up the Traefik LoadBalancer IP as its address within seconds, which tells you Traefik accepted it. The chart’s IngressClass is also marked as the cluster default, so an Ingress with no class at all would land on Traefik too.

NAME                         READY   STATUS    RESTARTS   AGE
pod/whoami-8f4cfb89f-hqz4r   1/1     Running   0          6s

NAME                 TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)   AGE
service/whoami-svc   ClusterIP   10.43.50.230   <none>        80/TCP    6s
NAME          CLASS     HOSTS                ADDRESS        PORTS   AGE
whoami-http   traefik   whoami.example.com   10.128.0.240   80      7s
NAME                CONTROLLER                      PARAMETERS   AGE
traefik (default)   traefik.io/ingress-controller   <none>       64s

Now send a real request through Traefik with the whoami hostname in the Host header. Without that header Traefik has no rule to match and returns a 404, because the Ingress only claims whoami.example.com. On an L2 network with the hosts entry from earlier in place, plain curl http://whoami.example.com/ from your workstation does the same thing.

curl -s -H 'Host: whoami.example.com' http://10.128.0.240/

whoami answers with its pod name, and the X-Forwarded-Server header names the Traefik pod that proxied the call. Your backend apps get the same X-Forwarded-* headers, so they can log the original host and protocol.

Hostname: whoami-8f4cfb89f-hqz4r
IP: 127.0.0.1
IP: ::1
IP: 10.42.0.8
IP: fe80::ea:8eff:feb4:873e
RemoteAddr: 10.42.0.7:58044
GET / HTTP/1.1
Host: whoami.example.com
User-Agent: curl/8.5.0
Accept: */*
Accept-Encoding: gzip
X-Forwarded-For: 10.42.0.1
X-Forwarded-Host: whoami.example.com
X-Forwarded-Port: 80
X-Forwarded-Proto: http
X-Forwarded-Server: traefik-696b9fbc45-9gtd8
X-Real-Ip: 10.42.0.1

The terminal capture shows the whole test, from the pods through to the echoed headers.

whoami Ingress on the traefik ingress class answering curl through the Traefik LoadBalancer IP

Back in the dashboard, open HTTP Routers. You should find the whoami Ingress router (1), the one built from our whoami-http Ingress, next to the Dashboard IngressRoute router (2) from the Helm values with its middleware attached.

Traefik 3.8 HTTP Routers page listing the whoami Ingress router and the dashboard IngressRoute router
  1. 1whoami Ingress router
  2. 2Dashboard IngressRoute router

An Ingress that never appears in this list usually has the wrong ingressClassName. On a cluster where another controller holds the default class, an Ingress with no class goes to that controller instead, so set the class explicitly on every Ingress you want Traefik to serve.

Check these errors first

Two failures came up during the lab, and both are easy to trigger with values files written for older charts. Neither breaks a running Traefik, so you can fix them calmly. The first stops an upgrade before it starts, while the second only changes where the dashboard answers.

Error: “additional properties ‘logs’ not allowed”

Your values file still uses the pre 41 logs block. Rename logs.general to log and logs.access to accessLog. Access log settings need more than the top level rename, because the v41.0.0 release notes also renamed keys underneath it.

  • filters.statuscodes is now filters.statusCodes
  • filters.retryattempts is now filters.retryAttempts
  • filters.minduration is now filters.minDuration
  • fields.general.defaultmode is now fields.defaultMode
  • fields.*.defaultmode is now fields.*.defaultMode

The chart’s JSON schema rejects keys it doesn’t know, so running helm template with your values file catches every leftover before you touch a live cluster. Fix them one error at a time until the render goes through cleanly.

“404 page not found” on port 8080 after moving the dashboard

Once we moved the dashboard route to the web entrypoint with a Host rule, the old port-forward stopped working. Port 8080 no longer carries a dashboard route, so both the API and the dashboard path return a plain 404.

404 page not found

HTTP/1.1 404 Not Found
Content-Type: text/plain; charset=utf-8
X-Content-Type-Options: nosniff
Date: Sat, 05 Dec 2026 15:43:54 GMT
Content-Length: 19

Pick one way in and stick with it. Either reach the dashboard through its hostname on the LoadBalancer, or drop the entryPoints and matchRule overrides so the route returns to the traefik entrypoint and port-forward works again, still asking for the basic auth login while the middlewares entry stays. Always include the trailing slash in /dashboard/ while you test, since every check above used it.

Update the values before production traffic

A single replica on plain HTTP is a lab setup, because one pod restart drops every route and the dashboard password crosses the network in the clear. Before real traffic arrives, we would change these in the same values file.

  • Two or more replicas plus a PodDisruptionBudget
  • Dashboard on websecure with a real certificate
  • Auth Secret managed outside the values file
  • Prometheus scraping the metrics entrypoint on 9100

The metrics entrypoint is already on, and our Prometheus and Grafana on Kubernetes guide shows how to scrape it. If you are still weighing Traefik against the alternatives, the NGINX ingress controller guide and our notes on moving from ingress-nginx to Gateway API cover the two other routes most clusters take. Traefik speaks Gateway API as well, so it is a reasonable place to land whichever way you lean.

Keep reading

Best Kubernetes UI Management Tools in 2026 Containers Best Kubernetes UI Management Tools in 2026 Patch Java4Shell CVE-2026-114938 in Docker and Kubernetes Images Containers Patch Java4Shell CVE-2026-114938 in Docker and Kubernetes Images Best OS for Kubernetes: 6 Minimal Linux Distros Benchmarked Containers Best OS for Kubernetes: 6 Minimal Linux Distros Benchmarked Traefik 3.8 Upgrade: Breaking Changes, Yaegi v2 and Helm Test Containers Traefik 3.8 Upgrade: Breaking Changes, Yaegi v2 and Helm Test Upgrade Argo CD: What Helm 4 Breaks in Your Helm Apps Containers Upgrade Argo CD: What Helm 4 Breaks in Your Helm Apps Install ArgoCD on Amazon EKS: The Complete GitOps Guide AWS Install ArgoCD on Amazon EKS: The Complete GitOps Guide

Leave a Comment

Press ESC to close