v0.20 CLI Updates
With the breaking changes introduced in v0.20, the vCluster CLI was also updated to match with the direction that we are going.
There were also two signicant CLI changes that influenced the changes in the vcluster
CLI.
- The
loft
CLI, which was used to manage the platform (formerly known as loft) was deprecated and no longer supported, so all commands in theloft
CLI were moved into thevcluster
CLI. - The
vcluster pro
command was renamed tovcluster platform
.
With these two signifcant changes, there were duplicate functionality from the older CLI (loft
) and vCluster command (vcluster pro
) that were merged as vcluster platform
.
New Commands in v0.20.0​
-
vcluster convert
: Convert virtual cluster config values - This command is used to convert pre-v0.20 values.yaml files to the new vcluster.yaml format. More details on how to convert your pre v0.20values.yaml
can be found in our dedicated migration guide. -
vcluster set
: Set configuration -
vcluster use
: vCluster use subcommand - This command allows you to switch between the drivers (helm or platform).
Renamed Commands from vCluster CLI v0.19.x​
-
vcluster import
was renamed tovcluster platform add
: Adds a cluster or vCluster to vCluster platform -
vcluster get
was renamed tovcluster platform get
: Retrieves and displays information
New Commands that were used in vcluster pro
and loft
​
-
loft credits
was renamed tovcluster credits
: Saves the OSS credits -
loft generate
was replaced withvcluster platform create
andvcluster platform set
-
loft import
was renamed tovcluster platform add
: Adds a cluster or vCluster` to vCluster platform
Changed Subcommands​
-
vcluster pro token
/loft token
was renamed toÂvcluster platform access-key
 -
vcluster pro connect
was renamed toÂvcluster platform connect
with additional context. -
vcluster pro generate
was removed and replaced withvcluster platform create
andvcluster platform set
Renamed Commands from loft
CLI to vcluster platform
CLI​
This is a list of commands that formerly in the loft
CLI and now renamed in vcluster
under vcluster platform
. All funcationality remains the same.
-
vcluster platform backup
: Backup subcommands -
vcluster platform connect
: Connects a cluster to vCluster Platform. -
vcluster platform create
: Creates vCluster platform resources -
vcluster platform delete
: Deletes vCluster platform resources -
vcluster platform get
: Retrieves and displays information -
vcluster platform list
: Lists configuration -
vcluster platform reset
: Reset configuration -
vcluster platform set
: Set configuration -
vcluster platform share
: Shares a virtual cluster/namespace with another vCluster platform user or team -
vcluster platform sleep
: Put a virtual cluster/namespace to sleep -
vcluster platform start
: Start a loft instance and connect via port-forwarding -
vcluster platform wakeup
: Wake up a virtual cluster/namespace
Flag Differences​
New Global Flag​
• --config
string : The vcluster CLI config to use (will be created if it does not exist)