Skip to main content

astro deployment worker-queue update

astro only
This command is only available on Astro.

Update the settings for an existing worker queue in a Deployment on Astro. This is functionally identical to updating the settings of a worker queue in the Astro UI.

Usage

astro deployment worker-queue update

Options

OptionDescriptionPossible Values
--concurrencyThe maximum number of tasks that each worker can runAny integer from 1 to 64
-d,--deployment-idThe ID of the Deployment whose worker queue you want to updateAny valid Deployment ID
--deployment-nameThe name of the Deployment whose worker queue you want to update. Use as an alternative to <deployment-id>Any valid Deployment name
-f --forceSkip prompting the user to confirm the update``
--max-countThe maximum worker count of the worker queueAny integer from 0 to 30
--min-countThe minimum worker count of the worker queueAny integer from 0 to 30
-n,--nameThe name of the worker queueAny string
-t,--worker-typeThe worker type of the worker queueAny worker type enabled on the cluster in which the Deployment exists

Examples

astro deployment worker-queue update --deployment-id cl03oiq7d80402nwn7fsl3dmv --name="Updated name"
# Update a worker queue's name in a specified Deployment.

astro deployment worker-queue update --concurrency 20 --max-count 10 --min-count 2 --name "My worker queue" --worker-type "m5d.8xlarge"
# Update a new worker queue in a Deployment. The CLI prompts you to specify a Deployment and worker queue to update

Was this page helpful?