One annoying thing about Traefik not doing things the Kubernetes way is that there doesn't seem to be an easy way to check on it from the console[1]kubectl get crd really doesn't cut it
. However, it has a browser-based dashboard, so if you're having trouble with setting up ingress, you can use that to see how it's been configured.
A Traefik service for the dashboard will be already running, so all we have to do is create an IngressRoute that accepts web requests and routes them to the service:
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: traefik-dashboard
spec:
entryPoints:
- web
routes:
- kind: Rule
match: Host(`traefik.k3s`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`))
services:
- kind: TraefikService
name: api@internal
Set up a DNS entry for traefik.k3s on your client machine, and go to http://traefik.k3s/dashboard/[2]The trailing / is important!
in a browser:











I am a 
