mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 00:00:34 +00:00
Update cheatsheets
This commit is contained in:
41
tldr/loft
Normal file
41
tldr/loft
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user