Skip to main content
Create Vast cluster

Usage

vastai create cluster SUBNET MANAGER_ID

Arguments

subnet
string
required
local subnet for cluster, ex: ‘0.0.0.0/24’
manager_id
integer
required
Machine ID of manager node in cluster. Must exist already.

Description

Create Vast Cluster by defining a local subnet and manager id.

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)