Skip to main content
Trigger a rolling update of all workers in a workergroup, or cancel an in-progress update

Usage

vastai update workers WORKERGROUP_ID [--cancel]

Arguments

id
integer
required
id of workergroup to update workers for

Options

--cancel
boolean
cancel an in-progress update for the workergroup

Description

Starts a rolling update of all workers in the specified workergroup. The autoscaler will cycle through workers, updating them while maintaining capacity. Use —cancel to cancel an update that is currently in progress.

Examples

vastai update workers 4242
    vastai update workers 4242 --cancel

Global Options

The following options are available for all commands:
OptionDescription
--url URLServer REST API URL
--retry NRetry limit
--rawOutput machine-readable JSON
--explainVerbose explanation of API calls
--api-key KEYAPI key (defaults to ~/.config/vastai/vast_api_key)