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

vcluster: add page (#16773)

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
depgod 2025-06-10 15:44:36 +05:30 committed by GitHub
parent 107464bf0d
commit d64f551229
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/vcluster>.
- 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}}`