Hi there, I've scoured the documentation, looked at previous questions, I seem to have set up everything correctly, yet I'm still not seeing the dashboard. I tried to set it up to forward 443 requests to 8443 port. Here's my values.yaml
which I applied with the helm installation:
service:
type: LoadBalancer
ports:
websecure:
port: 443
targetPort: 8443
annotations:
service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
service.beta.kubernetes.io/aws-load-balancer-ssl-cert: "CERT-ARN"
service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "443"
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "tcp"
additionalArguments:
- "--api=true"
- "--api.dashboard=true"
- "--api.insecure=false"
- "--entrypoints.websecure.address=:8443" # Use non-privileged port, like 8443
My IngressRoute:
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: traefik-dashboard
namespace: traefik
spec:
entryPoints:
- websecure
routes:
- match: Host(`traefik.our-domain.io`)
kind: Rule
services:
- name: api@internal
kind: TraefikService
middlewares:
- name: traefik-dashboard-auth
I also created the middleware:
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: traefik-dashboard-auth
namespace: traefik
spec:
basicAuth:
secret: traefik-dashboard-auth
And the secret contains a basic auth user-pass (for now). I then set up an A name record on Route53 that links traefik.our-domain.io
to the load balancer. Feels like everything is set up correctly, but when I try to actually visit traefik.our-domain.io/dashboard/
(or even without the /dashboard/
as I'm a little unclear on if that's necessary) nothing loads. I don't even see it in the pod logs (which show no errors as far as I can tell).
I'm a little bit at a loss, because I don't know what I'm missing or misconfiguring. Tried getting some AI help, read the docs like 10 times. I just don't know what to do exactly. Any help would be much appreciated, thanks