Replies: 1 comment
-
Hi @ericis , thanks for starting this discussion! Traefik is the ingress controller configured by Kubernetes Ingress resources, so it doesn't use a static configuration (ConfigMap). All required config options are set via flags in the deployment (e.g. listening ports). Those ports are exposed using a Kubernetes Service of type UPDATE: to expose the dashboards (port 9000), you could e.g. start the cluster with |
Beta Was this translation helpful? Give feedback.
-
*Cross-posted to StackOverflow, to a thread in Rancher forums, and to traefik's community discussion board
Tutorials from 2020 refer to editing the traefik configmap. Where did it go?
No configmap in use by traefik deployment
For a 2-server, 2-agent cluster...
kubectl -n kube-system describe deploy traefik
does not show any configmap:No "traefik" configmap
And,
kubectl get -n kube-system cm
shows:No configmap in use by traefik pods
Describing the pod doesn't turn up anything either.
kubectl -n kube-system describe pod traefik-....
results in no configmap too.Traefik ports in use, but not responding
However, I did see arguments to the traefik pod with ports in use:
However, these ports are not exposed. So, I tried port-forward with
kubectl port-forward pods/traefik-97b44b794-r9srz 9000:9000 8000:8000 8443:8443 -n kube-system --address 0.0.0.0
, but when Icurl -v localhost:9000
(or 8000 or 8443) andcurl -v localhost:9000/dashboard
, I get "404 Not Found".After getting a terminal to traefik, I discovered the local ports that are open, but it seems nothing is responding:
Versions
Beta Was this translation helpful? Give feedback.
All reactions