Hello,
We are used to using helm install / helm upgrade with the --wait option ; which is nice because the command returns only if install / upgrade is kind of done and not just "commited".
Unfortunately it doesn't currently play really nice with the chart as:
So if the database hasn't been migrated yet, the install / upgrade fails waiting for the migrations to be applied with the --wait option.
One option would be to switch to run the migrations with pre-install and pre-upgrade hooks instead.
I'd enable this behavior only if we have an external database (in a more production friendly env. where we are more likely to use the --wait option too -?-). If we use a database deployed by the chart, I don't think this could play nice.
What do you think ?
PS: another small question related to this ; on airflow versions bump (with schema migrations to perform), are we expecting the RollingUpdate of pods to work (ie are the schemas backward compatible for one airflow version bump).
Hello,
We are used to using
helm install/helm upgradewith the--waitoption ; which is nice because the command returns only if install / upgrade is kind of done and not just "commited".Unfortunately it doesn't currently play really nice with the chart as:
So if the database hasn't been migrated yet, the install / upgrade fails waiting for the migrations to be applied with the
--waitoption.One option would be to switch to run the migrations with
pre-installandpre-upgradehooks instead.I'd enable this behavior only if we have an external database (in a more production friendly env. where we are more likely to use the
--waitoption too -?-). If we use a database deployed by the chart, I don't think this could play nice.What do you think ?
PS: another small question related to this ; on airflow versions bump (with schema migrations to perform), are we expecting the RollingUpdate of pods to work (ie are the schemas backward compatible for one airflow version bump).