-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
traefik-ext dashboard 404 #8
Comments
make sure your ingressroute is right with the correct annotations. it should be similar to this. apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: ext-dashboard
annotations:
kubernetes.io/ingress.class: traefik-external
namespace: kube-system
labels:
app.kubernetes.io/name: traefik
app.kubernetes.io/instance: traefik-external
spec:
entryPoints:
- websecure
routes:
- match: Host(`ext-dash.pcgeek.lan`)
# middlewares:
# - name: authentik-auth
# namespace: kube-system
kind: Rule
services:
- kind: TraefikService
name: api@internal
tls:
secretName: ext-dash-tls
certResolver: lab-ca
domains:
- main: ext-dash.pcgeek.lan``` |
thats my production one, the only difference is I have added TLS and removed the insecure http port. also I use my internal DNS to point to the external traefik IP for that. I dont access the dashboard over my public IP/DNS. |
dashboard.yaml.j2 @ /home/user/k3s-ansible-traefik-rancher/roles/traefik_external/templates
They seems the same thanks for looking into this |
|
I haven't touch anything beyond all.yml that's why i'm fairly confuse as to why this wasn't working for me, again thanks for the time I don't know if this matter, all master and worker nodes is on ubuntu 22.04.4
|
No problem. at this level the OS it's on really doesn't matter. To be honest I don't know why its giving you an error. its definately getting to traefik because thats a traefik 404, the 404 generally means it's not matching any routes. If it matched but the service was down or not configured right you'd get a 502 bad |
http://traefik-ext.storm.internal |
DNS is configured properly as well? such that traefik-ext points to the external IP for traefik and not the first one? in your case ending .181 from your vars file |
just trying to see what could possibly be the cause, other thing I can think of is enabling the debug logs and then watching the logs from the rancher UI while you try to navigate to the dashboard...or spin up an nginx test deployment and see if that works as intended. it could be something stupid with traefik itself |
Yep this was the entry on my hosts file on windows machine accessing the cluster
|
I already try spinning up nginx deployment and service on the example directory hoping the dashboard for the external traefik will come to life, nada ahhaha still 404 and it's weird |
Hi Good day!,
My external traefik is 404 while everything is working as expected, May i ask is this expected? thanks in advance this is really wonderful repository to make your own cluster :)
The text was updated successfully, but these errors were encountered: