Struggling to Access Traefik Dashboard on TalosOS Cluster
Asked by
TechWanderer42
I've set up a TalosOS cluster for my homelab with one control plane and worker node, plus two additional worker nodes. I previously used k3s and now I'm trying to run Traefik, but I'm unable to access the dashboard endpoint. I'm having issues using the mapped domain pointing to the control plane's IP address. If anyone has experience with this setup, I'd appreciate your help!
Answers
Unlike k3s, Talos doesn't come with Traefik built-in; it gives you a plain Kubernetes cluster with Flannel for the CNI. Youโll need to set up Traefik yourself. I recommend starting with the Traefik Helm chart from their documentation to get it installed easily.
Reply to this answer
How do you have your Traefik service configured? You might want to check your values.yaml file. Make sure the dashboard ingress route is enabled by setting it to true, and check that the match rules correctly reference `/dashboard` and `/api`. That should help you get access!
CuriousDev101: Here's the part of my values.yaml: ingressRoute: dashboard: enabled: true # changed from false annotations: {} labels: {} matchRule: PathPrefix(`/dashboard`) || PathPrefix(`/api`) Iโm using default values for everything else.
Reply to this answer
Be sure that Traefikโs service and ingress are in a namespace that your control plane can access. Also, check if you've enabled the dashboard with `--api.insecure=true`, or through the ingress route settings. Double-check your DNS mapping to ensure it's pointing to the right node IP and that there aren't any firewall or Talos network rules blocking port 8080.
Reply to this answer
Add your answer
Answers are reviewed before publication.
TechWanderer42: Thanks for clarifying! Iโll give that a shot.