Search code examples
airflowkubernetes-helm

helm chart - airflow version upgrade


I've installed airflow on my k8s using helm chart apache-airflow/airflow.

Currently installed airflow version is 2.2.4, what path should be followed from the options below to upgrade airflow version 2.3.0.

  1. The official helm chart version is 1.5.0 and the default airflow version is 2.2.4. When the newer version of helm chart is released, the default airflow version will be set to 2.3.0. Will the helm repo update and helm upgrade command provision the upgrade of airflow? or are there any other similar process or official upgrade process guide?

  2. If the upgrade process to accommodate the airflow default version has to be manual, what process/steps should be followed? N.B. changing defaultAirflowTag value from 2.2.3->2.3.0 in values.yaml is not an option as it causes an exception.

Thanks in advance.


Solution

  • How I solved : helm upgrade --install actually works. but I saw a message on airflow web saying some of data migration failed cause of schema changes in airflow 2.3.0. After I drop the mentioned table in postgresql, airflow worked fine.

    and changing values.yaml also works.

    images:
      airflow:
        repository: apache-airflow/airflow
        tag: latest
        pullPolicy: IfNotPresent