- If you use DNS for a blue-green deployment, traefik does not honor DNS ttls (because it uses the DNS of go and go might do some caching) so when you do the switch you might still end on the "old" environment
- An error on one of the cool feature: serving error page when your backend returns some HTTP code
- Some configuration options are not documented (but easily found using github search)
I still love this software and I will keep looking at it.
https://github.com/golang/go/blob/541f9c0345d4ec52d9f4be5913...
I do this exact thing with Traefik, Consul, and some various miscellaneous services that don't fall under the dynamically-discovered umbrella when they might run under k8s or nomad. I write a value to Consul with the desired Host: match, a backend server to route requests to, and Traefik will handle routing to any backend server it can reach without restarts or interrupting service.