edgedb / edgedb-deploy

EdgeDB Deployment Recipes and Scripts
10 stars 4 forks source link

Pin edgedb image version to 2 #9

Closed fantix closed 2 years ago

fantix commented 2 years ago

Without an explicit version or imagePullPolicy, k8s will set imagePullPolicy to Always and automatically upgrades the server image to a new version without dump/restore in a future k8s re-deployment, breaking the server if the new version is a major bump.

Setting imagePullPolicy to IfNotPresent is not always safe from the same issue, because k8s may want to re-deploy the pod onto a new node without an image of the same major version.