Reputation: 14800
These are the best practises for a helm deployment which I figured out so far:
In a development environment new images are created often. Because I don't want to trash my container registry, I'd prefer using latest tags.
The only solution - I can think of - is to use versioned imaged and a cleanup job to remove old image from the registry. But this is quite complicated.
So what are your best practises for helm deployments in a development environment?
Upvotes: 0
Views: 76
Reputation: 746
Indeed, using :latest
will mean that your deployments will be mutable.
AWS ECR allows you to keep limited number of latest images according to certain regex. So you can use dev-
prefix for your non-production deployments (for example triggered outside of master
branch) and keep only 10 latest of them.
Upvotes: 2