LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

loft

Deprecated CLI for the Loft (vCluster Platform) Kubernetes multi-tenancy platform

TLDR

Start Loft in the current kube context
$ loft start
copy
Login to Loft
$ loft login [https://loft.example.com]
copy
Create virtual cluster
$ loft create vcluster [name]
copy
List virtual clusters
$ loft list vclusters
copy
Switch kube context to a virtual cluster
$ loft use vcluster [name]
copy
Create space
$ loft create space [name]
copy
Connect to space
$ loft use space [name]
copy
Put a space to sleep or wake it up
$ loft sleep space [name]
copy
Modern equivalent: create a virtual cluster through the platform
$ vcluster create [name] --driver platform
copy

SYNOPSIS

loft command [type] [name] [options]

DESCRIPTION

loft is the command-line client for Loft, a self-service platform for Kubernetes multi-tenancy by Loft Labs. It manages spaces (namespaces with access control and quotas), virtual clusters (vcluster instances running inside a host namespace), connected host clusters, sleep mode to save costs, users, teams and secrets.

PARAMETERS

start

Install and start the Loft platform in the current Kubernetes cluster.
login URL
Log in to a Loft instance.
create vcluster | space NAME
Create a virtual cluster or a space (namespace).
delete vcluster | space NAME
Delete a virtual cluster or space.
list vclusters | spaces | clusters | teams | secrets
List resources.
use vcluster | space | cluster | management NAME
Switch the kube context to the resource.
sleep / wakeup vcluster | space NAME
Put a resource to sleep (scale workloads to zero) or wake it up.
share vcluster | space NAME
Give a user or team access.
connect cluster NAME
Connect a host Kubernetes cluster to Loft.
import vcluster NAME
Import an existing virtual cluster.
token
Print an access token.
reset password
Reset a user's password.
--help
Display help information.

CAVEATS

The loft CLI is deprecated: the platform was renamed vCluster Platform with version 4, and all commands moved into the vcluster CLI (for example loft start is now vcluster platform start, loft create space is vcluster platform create namespace, loft use vcluster is vcluster connect --driver platform). Configuration moved from ~/.loft/config.json to ~/.vcluster/config.json. The platform requires a Kubernetes cluster and a LoftLabs license for most features.

HISTORY

Loft was created by Loft Labs, the company behind vcluster and DevSpace. In 2024 the product was rebranded as vCluster Platform and the standalone loft CLI was replaced by vcluster platform commands.

SEE ALSO

vcluster(1), kubectl(1), helm(1), devpod(1), devspace(1)

RESOURCES

Copied to clipboard
Kai