vcluster
Virtual Kubernetes Clusters that run inside standard Kubernetes namespaces for lightweight multi-tenancy.
Why consider vcluster?
vcluster creates fully functional, virtual Kubernetes clusters inside a single namespace of an underlying host cluster. It cuts cloud infrastructure costs and provides secure tenant isolation.
Learn vcluster by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of vcluster
vcluster runs virtual, isolated Kubernetes control planes inside the namespaces of an existing Kubernetes cluster. Each virtual cluster has its own API server, controller manager, and storage, while sharing the underlying worker nodes and networking.
Creating a Virtual Cluster with the CLI
Install the vcluster CLI:
curl -s -L "https://github.com/loft-sh/vcluster/releases/latest/download/vcluster-linux-amd64" -o vclusterchmod +x vcluster && sudo mv vcluster /usr/local/binCreate and connect to a virtual cluster:
vcluster create my-vclustervcluster automatically switches your kubeconfig context to the virtual cluster. You can now deploy CRDs, namespaces, and cluster-wide resources without affecting other tenants on the host cluster.
vcluster is licensed under the Apache License Version 2.0.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.