Skip to main content

astro deployment airflow upgrade

info

This command is available only if you're authenticated to an Astronomer Software installation.

Initializes the Airflow version upgrade process on any Airflow Deployment on Astronomer. See Upgrade Airflow on Astronomer Software

Usage

Run astro deployment airflow upgrade --deployment-id to initialize the Airflow upgrade process. To finalize the Airflow upgrade process, complete all of the steps in Upgrade Airflow on Astronomer Software.

If you do not specify --desired-airflow-version, this command creates a list of available Airflow versions that you can select. The Astro CLI lists only the available Airflow versions that are later than the version currently specified in your Dockerfile.

Options

OptionDescriptionPossible values
--cancelCancel the upgradeNone
--deployment-idThe ID of the Deployment that you want to upgrade the Airflow version. Run astro deployment list to retrieve your Deployment IDAny Deployment ID
--desired-airflow-versionThe Airflow version you're upgrading to. For example, 2.2.0Any supported Airflow version

Examples

# Upgrade to Airflow 2.4 
$ astro deployment airflow --deployment-id telescopic-sky-4599 --desired-airflow-version 2.2.0