by klohto · 5y ago · 0 comments
All of our of microservices have deployment charts, with frozen image versioning. That way, we can can rollout a whole release knowing they are all compatible with each other and can easily fall back just by using git rollback.
CI/CD updates image versions in affected YAMLs on every backend release and Flux keeps staging in sync. When we are happy, we sync to production branch, Flux syncs and it's done.
If we spot an issue that we didn't see in staging, we either release a hotfix or rollback.
I've seen both advocated for, interested in what the consensus is.
Backend is a monorepo. I can easily check the commit history in gitops repo to see what was the state of backend when the release was made.
Nothing should be lost, we keep history of everything this way.