I just stood up a new K3s and am using the pre-packaged Traefik 1.7 for an ingress controller. I've modified my
traefik configmap with the following (some being redacted):
logLevel = "debug" defaultEntryPoints = ["http","https"] [entryPoints] [entryPoints.http] address = ":80" compress = true [entryPoints.https] address = ":443" compress = true [entryPoints.https.tls] [entryPoints.prometheus] address = ":9100" [frontends] [frontends.frontend1] backend = "backend1" [frontends.frontend1.routes] [frontends.frontend1.routes.route0] rule = "Host:ha.example.com" [backends] [backends.backend1] [backends.backend1.servers.server1] url = "http://ha.local:8123"
http://ha.local:8123 loads fine within my LAN.
When I reload Traefik within K3s, it never seems to load the frontends/backends. Going to https://ha.example.com in the browser is yielding a 404 and in the debug logs, there 0 mention of anything pertaining to my frontend/backend.
Is there something I'm missing in my config TOML? Or is there perhaps something different with the K3s-supplied Traefik that makes it incompatible with TOML-based frontends/backends?