Quickstart Guide
#
1. Download vcluster CLIUse one of the following commands to download the vcluster CLI binary from GitHub:
- Mac (Intel/AMD)
- Mac (Silicon/ARM)
- Linux (AMD)
- Linux (ARM)
- Windows Powershell
Reboot Required
You may need to reboot your computer to use the CLI due to changes to the PATH variable (see below).
Check Environment Variable $PATH
Line 4 of this install script adds the install directory %APPDATA%\vcluster
to the $PATH
environment variable. This is only effective for the current Powershell session, i.e. when opening a new terminal window, vcluster
may not be found.
Make sure to add the folder %APPDATA%\vcluster
to the PATH
environment variable after installing vcluster CLI via Powershell. Afterward, a reboot might be necessary.
Alternatively, you can download the binary for your platform from the GitHub Releases page and add this binary to your PATH.
To confirm that vcluster CLI is successfully installed, test via:
#
2. Create a vcluster- vcluster
- helm
- kubectl
Create file vcluster.yaml
:
Then, install helm chart using vcluster.yaml
for chart values:
#
3. Use the vcluster#
4. Cleanup- vcluster
- helm
- kubectl
The easiest option to delete a virtual cluster using kubectl
is to delete the host namespace:
In case you have multiple vclusters or any other resources in this namespace, you can also just delete the vcluster-related resources: