Hi guys,
I am deploying Traefik
+ different services
in Docker Swarm
using terraform, dealing with a lot of challenges like:
- Nobody has tried to do something before
- Services like
Jenkins
with secrets, configs, networks, templates , etc. - Traefik v.2.0.7 minimal
- Everything is dockerised
- TLS authentication for Docker Swarm's
- TLS for FQDN's with local certificates
- Replace all our
nginx
for traefik (of course)
Most of the problems are:
- Lack of documentation in traefik 2.0 traefik.
labels
andtls
- Terraform docker provider documentation changes
- Docker Provider documentaion doesn't work (you have to see the source code)
- Labels for traefik are really difficult to implement
- etc..
Now the good news:
- Most problems are resolved
- Really cool deploying any services with traefik and terraform
- Using http terraform for backend
- Deploying
2 Jenkins services
+traefik
with TLS in onemain.tf
- Troubleshouting of traefik labels within the services
- Using terraform modules for
jenkins
andtraefik
.
If someone is working in something similar just let me know, beacuse traefik labels
and dynamic
file are for traefik 2.0.7 is a real pain (but its worth it)
Diego