Page cover

create

The vcluster create command allows you to create a new virtual cluster within your project. This command can be executed using flags or interactively through TUI mode.

Usage

cldkctl vcluster create [flags]

Steps

  1. A virtual cluster can be created directly by using flags. Run the following command in the terminal:

cldkctl vcluster create --name [name] --vcluster-name [vcluster name] --compute-profile [compute profile] --namespace [namespace] 
  1. Replace [name] with the desired instance name, [vcluster name] with the virtual cluster name, [compute profile] with the selected compute profile, and [namespace] with the namespace name.

  2. Alternatively, run the command interactively using TUI mode by entering:

cldkctl vcluster create 
  1. In the TUI interface, select the available compute profile.

  2. Enter the instance name.

  3. Enter the virtual cluster name.

  4. Enter the namespace.

  5. Confirm the VPN creation by pressing y for Confirm or n for Cancel.

  1. Once completed successfully, the terminal displays the message "✓ VCluster created successfully!"

Flags

This command supports global flags. Refer to the Global Flags section for details.

Flag
Description

-c, --compute-profile string

Specify compute profile name.

-h, --help

Help for the vcluster create command.

-n, --name string

Specify name.

--namespace

Specify namespace.

-v, --vcluster-name string

Specify virtual cluster name.

Last updated