This command is only available on Astro.
Create Airflow pools in a Deployment. Airflow pools are stored in the Deployment's metadata database and appear in the Airflow UI.
astro deployment pool create
This command is recommended for automated workflows. To run this command in an automated process such as a CI/CD pipeline, you can generate an API token, then specify the
ASTRO_API_TOKEN environment variable in the system running the Astro CLI:
|The ID of the Deployment where you want to create Airflow pools.
|Any valid Deployment ID
|The name of the Deployment where you want to create Airflow pools. Use as an alternative to
|Any valid Deployment name
|Create Airflow pools in a Deployment that is not in your current Workspace. If not specified, your current Workspace is assumed.
|Any valid Workspace ID
|The Airflow pool name. Required.
|Number of airflow pool slots. Required.
|The pool description.
# create pool called my-pool stored in the Deployment with an ID of cl03oiq7d80402nwn7fsl3dmv
astro deployment pool create --deployment-id cl03oiq7d80402nwn7fsl3dmv --name my-pool --slots 10
# create pool stored in the Deployment "My Deployment"
astro deployment pool create --deployment-name="My Deployment" --name my-pool --slots 10