Access dashboard of non-default traefik deployment #426
-
This is my
Here my nodes:
I've installed traefik using default helm installation command:
After that, an
As you can see:
I'm trying to reach dashboard. Nevertheless: Details are not shown. I've also tried to launch a
Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @jeusdi, as this does not indicate any obvious problem with k3d itself (as in "we could fix this with code), I thought this would be the perfect first issue to convert to the new GitHub Discussions feature. Back to the question itself: On first sight, I don't know, what's going on there. Another good place to get help for more traefik-involved folks could be their slack instance: https://traefik.slack.com/ |
Beta Was this translation helpful? Give feedback.
-
So I tried this myself now and I noticed this:
So for me it worked by just changing the # dashboard.yaml
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: dashboard
spec:
entryPoints:
- web
routes:
- match: Host(`traefik.localhost`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`))
kind: Rule
services:
- name: api@internal
kind: TraefikService Afterwards I could access the dashboard via An alternative would be to install traefik via |
Beta Was this translation helpful? Give feedback.
So I tried this myself now and I noticed this:
9000
which is the port that the traefik API is listening on (inside the traefik container). But that port is not exposed anywhere (i.e. there is no Service or whatsoever to access it)/
is mandatory (and it really returns 404 if it's not there: https://doc.traefik.io/tr…