Update number of workers via CLI

Hi, i was wondering if i can change the deployment configuration via CLI. For example change the number of workers.

I tried
astro deployment update UUID workers=2

It deployed but nothing changed.

Thanks :slight_smile:

Hi @Jonnyblacklabel! There is unfortunately no current way to customize the # of Celery Workers in your Airflow Deployment via the CLI the way you can do so via the Astro UI.

With that said, this is something we’re thinking about! We plan on adding support to provision multiple schedulers on $ astro dev start with the release of Airflow 2.0 (which will support the ability to run multiple schedulers concurrently). I’ve suggested that we consider adding a way to do that for workers as well. We’ll let you know as soon as that’s built if/when we get to it!