Recently we implemented CI/CD using linktohack/helm-stack: Ultimate Helm chart to deploy all kinds of stack and I find the need for a way to export and backup all the values and manifests of our applications . This Makefile allows me to make snapshot and make template in a CronJob to back up all of our stack. It comes with an extra target template-latest to generate the latest manifest of the stack, but can be of course adapted to generate whatever version of the manifest (1.
Back in 2017, I decided that our applications should be deployed in a Swarm cluster. Fast forward to 2020, we have more than 50 stacks running and the number is still counting on. I have no regret of that decision: (1) The simplicity of docker-compose file format allows us to deploy a new stack very quickly, skipping the ops part. Any developer can have a look at the stack file and say exactly what’s going on.