Skip to main content
Removes machine from cluster

Usage

vastai remove-machine-from-cluster CLUSTER_ID MACHINE_ID NEW_MANAGER_ID

Arguments

cluster_id
integer
required
ID of cluster you want to remove machine from.
machine_id
integer
required
ID of machine to remove from cluster.
new_manager_id
integer
required
ID of machine to promote to manager. Must already be in cluster

Description

Removes machine from cluster and also reassigns manager ID, if we’re removing the manager node

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)