I have a traefik DaemonSet on my kubernetes cluster, and I need to migrate from tls challenge to DNS.
We use route 53 on AWS for DNS and traefik on docker on our other machines works fine with this, but on kubernetes the DNS challenge doesn’t work and Traefik doesn’t log any errors.
Here is my values.yaml file for traefik (v 3.5.3), chart traefik-37.1.2
I’m sorry but I think I’m not understanding. I already have a working TLS configuration for traefik on k8s, but we want to phase that out in favor of DNS challenge.
The configuration is the same that we use on our non-k8s instances of traefik, which use docker compose with the following command:
Enable Traefik DEBUG log (doc) and check for ERR, acme, tls.
Usually cert-manager is used in k8s, especially when you have multiple nodes/instances. Traefik LetsEncrypt is not cluster-enabled, you will run into issues with multiple instances and when instances are moved/replaced. LetsEncrypt has very strict creation limits and you may end up without a valid TLS cert.