I have Traefik version 3.6.6 deployed via Helm into an Azure Kubernetes Service cluster.
I am unable to get basic example sticky session setup from the Traefik documentation to work in my cluster. I have followed the configuration steps described in Kubernetes - Traefik but when I access the whoami application multiple times I can see a different hostname being returned, even though the sticky cookie is being set and submitted correctly.
With debug logging turned on for Traefik I can see the Weighted Round Robin selecting a different service each time
2026-01-19T16:32:56Z DBG github.com/traefik/traefik/v3/pkg/middlewares/ipallowlist/ip_allowlist.go:83 > Accepting IP 10.10.0.10 middlewareName=default-ip-allowlist@kubernetescrd middlewareType=IPAllowLister
2026-01-19T16:32:56Z DBG github.com/traefik/traefik/v3/pkg/server/service/loadbalancer/wrr/wrr.go:176 > Service selected by WRR: default-whoami-sticky@kubernetescrd
2026-01-19T16:32:56Z DBG github.com/traefik/traefik/v3/pkg/server/service/loadbalancer/wrr/wrr.go:176 > Service selected by WRR: http://10.10.0.42:80
10.10.0.10 - - [19/Jan/2026:16:32:56 +0000] "GET / HTTP/2.0" 200 1152 "-" "-" 165 "httproute-default-whoami-gw-default-traefik-gateway-ep-websecure-1-a78c67874fb1ba915ceb@kubernetesgateway" "http://10.10.0.42:80" 0ms
2026-01-19T16:32:57Z DBG github.com/traefik/traefik/v3/pkg/middlewares/ipallowlist/ip_allowlist.go:83 > Accepting IP 10.10.0.10 middlewareName=default-ip-allowlist@kubernetescrd middlewareType=IPAllowLister
2026-01-19T16:32:57Z DBG github.com/traefik/traefik/v3/pkg/server/service/loadbalancer/wrr/wrr.go:176 > Service selected by WRR: default-whoami-sticky@kubernetescrd
2026-01-19T16:32:57Z DBG github.com/traefik/traefik/v3/pkg/server/service/loadbalancer/wrr/wrr.go:176 > Service selected by WRR: http://10.10.0.76:80
10.10.0.10 - - [19/Jan/2026:16:32:57 +0000] "GET / HTTP/2.0" 200 1152 "-" "-" 167 "httproute-default-whoami-gw-default-traefik-gateway-ep-websecure-1-a78c67874fb1ba915ceb@kubernetesgateway" "http://10.10.0.76:80" 2ms
2026-01-19T16:32:59Z DBG github.com/traefik/traefik/v3/pkg/middlewares/ipallowlist/ip_allowlist.go:83 > Accepting IP 10.10.0.10 middlewareName=default-ip-allowlist@kubernetescrd middlewareType=IPAllowLister
2026-01-19T16:32:59Z DBG github.com/traefik/traefik/v3/pkg/server/service/loadbalancer/wrr/wrr.go:176 > Service selected by WRR: default-whoami-sticky@kubernetescrd
2026-01-19T16:32:59Z DBG github.com/traefik/traefik/v3/pkg/server/service/loadbalancer/wrr/wrr.go:176 > Service selected by WRR: http://10.10.0.76:80
10.10.0.10 - - [19/Jan/2026:16:32:59 +0000] "GET / HTTP/2.0" 200 1152 "-" "-" 169 "httproute-default-whoami-gw-default-traefik-gateway-ep-websecure-1-a78c67874fb1ba915ceb@kubernetesgateway" "http://10.10.0.76:80" 0ms
Is it possible that there is some extra configuration required that is not mentioned in the example in the documentation? Or an extra parameter that is required to be passed into the Helm chart?