I am using traefik as the ingress controller and need to setup a storage path that can be persisted across restarts of deployments. Where can the file acme.json be stored so all nodes can access the information? Is it possible to store in etcd as key/value pairs?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Unfortunately, Traefik2’s community edition doesn’t have any way besides local files to store certs. Pre Traefik2 did support key-value stores (etcd, consul, etc.), which I found very hard to set up and get right.
I’m slowly working on modifying Traefik to support a shared storage solution. I have the basics working, but there are a few complex scenarios that I need to account for (multiple nodes trying to renew the same cert, etc.).
More info can be found here: https://nabeel.blog/2019/11/traefik/ https://github.com/containous/traefik/issues/5426 https://github.com/nabsul/traefik/tree/nabsul/add-cloud-storage
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.