1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-07 00:46:03 +02:00

loft: add page

This commit is contained in:
depgod 2025-06-05 20:01:47 +05:30 committed by GitHub
parent fb26446b6f
commit 36e917bea1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

36
pages/common/loft.md Normal file
View file

@ -0,0 +1,36 @@
# loft
> Install and manage multi-tenant Kubernetes environments using virtual clusters.
> More information: <https://loft.sh/docs/cli/loft/>.
- Install or upgrade Loft in the current Kubernetes cluster:
`loft start`
- Authenticate to a remote Loft instance:
`loft login {{https://loft.example.com}}`
- Create a virtual cluster with a specific space and cluster:
`loft create vcluster {{vcluster-name}} {{[-s|--space]}} {{space-name}} {{[-c|--cluster]}} {{cluster-name}}`
- List all virtual clusters:
`loft list vclusters`
- Switch context to a specific virtual cluster:
`loft use vcluster {{vcluster-name}}`
- Delete a virtual cluster:
`loft delete vcluster {{vcluster-name}}`
- Show the current Loft username:
`loft vars username`
- Uninstall Loft from the cluster:
`loft uninstall`