With Traefik, 404 means no router matches the request. Whether the Ingress was ignored or is broken isn't visible to the client – it's in the log of the Traefik pod: an access log line without a router name, or an ERR line.
Symptom
curl -s -i --resolve shop.labor.test:80:172.16.0.126 http://shop.labor.test/ | head -1 HTTP/1.1 404 Not Found
The body says "404 page not found" – Traefik's answer for "no route". The pod and the Service behind it can be perfectly healthy.
Diagnosis
The access log of the Traefik pod on the node, then the Ingress itself.
T=$(kubectl -n kube-system get pods -l app.kubernetes.io/name=rke2-traefik \ --field-selector spec.nodeName=cp1 -o name) kubectl -n kube-system logs $T --since=1m | tail -1 kubectl -n tag09 get ingress shop kubectl -n tag09 describe ingress shop | grep Events 172.16.0.126 - - [20/Nov/2026:08:21:04 +0000] "GET / HTTP/1.1" 404 19 "-" "-" 2 "-" "-" 0ms NAME CLASS HOSTS ADDRESS PORTS AGE shop nginx shop.labor.test 80 3s Events: <none>
Causes
ingressClassNameA class no controller is responsible for
The two "-" before the duration in the access log are the router name and the server URL – no router matched. The Ingress asks for the class nginx, which doesn't exist. Traefik ignores it silently: no event, no ERR line.
kubectl get ingressclass NAME CONTROLLER PARAMETERS AGE traefik (default) traefik.io/ingress-controller <none> 117m
Service portThe Ingress names a port the Service doesn't have
The Ingress points to port 8080 of the Service, but the Service only has 80. Traefik then doesn't build the router at all – the client sees the same 404, the log says it clearly.
kubectl -n kube-system logs $T --since=1m | grep ERR | tail -1
kubectl -n tag09 get svc shop -o jsonpath='{.spec.ports}{"\n"}'
2026-11-20T08:25:53Z ERR Cannot create service error="service port not found"
ingress=shop namespace=tag09 providerName=kubernetes serviceName=shop
servicePort=&ServiceBackendPort{Name:,Number:8080,}
[{"name":"http","port":80,"protocol":"TCP","targetPort":"http"}]Fix
kubectl -n tag09 patch ingress shop --type=merge \
-p '{"spec":{"ingressClassName":"traefik"}}'
curl -s --resolve shop.labor.test:80:172.16.0.126 http://shop.labor.test/ | head -1
kubectl -n kube-system logs $T --since=10s | tail -1
Hostname: shop-555c9f66b5-dmqg6
172.16.0.126 - - [20/Nov/2026:08:21:16 +0000] "GET / HTTP/1.1" 200 407 "-" "-" 3
"tag09-shop-shop-labor-test@kubernetes" "http://10.42.0.49:80" 9ms
Debugging Kubernetes, day 9: 404, 503 and wrong certificates on Ingress and Gateway API with Traefik – with a drill to reproduce each one.
Go to day 9 →
FAQ
What is the difference between 404 and 503 with Traefik?
404 means no router matches. 503 with "no available server" means the router matches, but there is no ready pod behind the Service.
Is the empty ADDRESS column an error?
No. rke2-traefik is a ClusterIP Service without an external address, so ADDRESS stays empty.