I'm trying to install Traefik 2.4 on my K8S v1.20.4 cluster using the Helm chart and enabling the dashboard, but getting connection refused error when curl http://host-ip:8080/dashboard/
Here is value.yml that only specify three paramters:
additionalArguments:
- "--api=true"
- "--api.insecure=true"
- "--log.level=DEBUG"
then install with Helm:
helm install traefik traefik/traefik -f value.yml
then, kubectl describe pod/traefik-678ffc96f-5485w show:
--api.dashboard=true
--api=true
--api.insecure=true
......
Events:
Type Reason Age From Message
Normal Scheduled 18m default-scheduler Successfully assigned default/traefik-678ffc96f-5485w to k8s-node1
Normal Pulled 18m kubelet Container image "traefik:2.4.6" already present on machine
Normal Created 18m kubelet Created container traefik
Normal Started 18m kubelet Started container traefik
and I try to access the dashboard url
curl http://localhost:8080/dashboard/
and
curl http;//10.0.1.208:8080/dashboard/ , (10.0.1.208 is the host ip),
I got connection refused error. All installation steps are followed the traefik documents, who sees my mistake or can help me? Thanks.