3 ms·
Agreed. Forgive a minor digression, but what OP wrote is my problem now. I'm looking for something like heroku's or fly's release command. I have an idea how to
by tomwojcik 2y ago
Agreed. Forgive a minor digression, but what OP wrote is my problem now. I'm looking for something like heroku's or fly's release command. I have an idea how to implement it in docker using swarm, but I can't figure out how to do that on k8s. I googled it some time ago, but all the answers were hacks.
Would someone be able to recommend an approach that's not a hack, for implementing a custom release command on k8s? Downtime is fine, but this one off job needs to run before the user facing pods are available.
- psini 2y agoLook at helm charts, they have become the de facto standard for packaging/distributing/deploying/updating whole apps on Kubernetes
- trashburger 2y agohttps://leebriggs.co.uk/blog/2019/02/07/why-are-we-templating-yaml https://leebriggs.co.uk/blog/2019/02/07/why-are-we-templatin... Something like Jsonnet would serve one better, I think. The only part that kinda sucks is the "package management" but that's a small price to pay to avoid the YAML insanity. Helm is fine for consuming third-party packages.