Struggling to Access Traefik Dashboard on TalosOS Cluster

0
30
Asked By TechWanderer42 On

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!

3 Answers

Answered By NetworkGuru On

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.

Answered By CodeNinja88 On

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.

Answered By CloudWhisperer On

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.

TechWanderer42 -

Thanks for clarifying! I’ll give that a shot.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.