I have installed Traefik on my microk8s cluster using helm using the following commands:
helm repo add traefik https://helm.traefik.io/traefik
helm repo update
helm install traefik traefik/traefik \
--namespace traefik \
--create-namespace \
--set logs.general.level="DEBUG"
That seems to install correctly, and after doing so I see the following:
# kubectl get all -n traefik
AME READY STATUS RESTARTS AGE
pod/traefik-ingress-controller-9tbhl 1/1 Running 0 29h
pod/traefik-5cd9d75d97-xh486 1/1 Running 0 17m
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S)
AGE
service/traefik-ingress-service NodePort 10.152.183.7 <none> 8080:32269/TCP
29h
service/traefik-web-ui ClusterIP 10.152.183.172 <none> 8080/TCP
29h
service/traefik LoadBalancer 10.152.183.228 10.0.2.151 80:32625/TCP,443:31724/
TCP 29h
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE S
ELECTOR AGE
daemonset.apps/traefik-ingress-controller 1 1 1 1 1 <none>
29h
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/traefik 0/1 1 0 29h
NAME DESIRED CURRENT READY AGE
replicaset.apps/traefik-5cd9d75d97 1 1 0 17m
I would like to be able to access the dashboard app using the kubectl port-forward
command from the Traefik Helm Chart. However, I get a 404 when I try this because I don't seem to have any apps listening on port 9000.
Is there a step that I'm missing to "turn on" the dashboard when installing via the Helm chart? If not then which of the services listed above should I try and use for the dashboard? I've tried the traefik-web-ui
and traefik
services but still get 404's.