1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 14:35:42 +02:00

vcluster: add page

This commit is contained in:
depgod 2025-06-05 20:10:19 +05:30 committed by GitHub
parent fb26446b6f
commit 3f421d4465
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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

@ -0,0 +1,36 @@
# vcluster
> Create and manage lightweight virtual Kubernetes clusters in namespaces.
> More information: <https://www.vcluster.com/docs/cli/>.
- Create a virtual cluster in a specific namespace:
`vcluster create {{vcluster-name}} {{[-n|--namespace]}} {{namespace}}`
- Connect to a virtual cluster with a local port and insecure mode:
`vcluster connect {{vcluster-name}} {{[-n|--namespace]}} {{namespace}} {{[--local-port]}} {{port}} {{[--insecure]}}`
- List all virtual clusters:
`vcluster list`
- Delete a virtual cluster:
`vcluster delete {{vcluster-name}}`
- List platform-managed virtual clusters:
`vcluster platform list`
- Create a platform-managed virtual cluster:
`vcluster platform create {{vcluster-name}} {{[-n|--namespace]}} {{namespace}}`
- Connect to a platform-managed virtual cluster:
`vcluster platform connect {{vcluster-name}} {{[-n|--namespace]}} {{namespace}}`
- Delete a platform-managed virtual cluster:
`vcluster platform delete {{vcluster-name}} {{[-n|--namespace]}} {{namespace}}`