Linux command
vcluster 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Create cluster
vcluster create [name]
Connect to cluster
vcluster connect [name]
List clusters
vcluster list
Delete cluster
vcluster delete [name]
Disconnect
vcluster disconnect
Pause cluster
vcluster pause [name]
说明
vcluster creates lightweight virtual Kubernetes clusters that run inside existing Kubernetes clusters. Each virtual cluster has its own API server and control plane but shares the underlying host cluster's compute resources and networking. This approach provides full Kubernetes isolation for multi-tenancy, development, and testing without the overhead of separate physical clusters. Virtual clusters are created in seconds and can be paused to free resources when not in use.
参数
- create
- Create virtual cluster.
- connect
- Connect kubectl.
- list
- List clusters.
- delete
- Remove cluster.
- disconnect
- Disconnect kubectl.
- --namespace _NS_
- Kubernetes namespace.
FAQ
What is the vcluster command used for?
vcluster creates lightweight virtual Kubernetes clusters that run inside existing Kubernetes clusters. Each virtual cluster has its own API server and control plane but shares the underlying host cluster's compute resources and networking. This approach provides full Kubernetes isolation for multi-tenancy, development, and testing without the overhead of separate physical clusters. Virtual clusters are created in seconds and can be paused to free resources when not in use.
How do I run a basic vcluster example?
Run `vcluster create [name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does create do in vcluster?
Create virtual cluster.