Kubernetes
vCluster: a Kubernetes cluster inside a namespace
A namespace is too little separation for some teams, and a whole new cluster is too much. vCluster sits between the two.

What a virtual cluster is
vCluster is an open source project that gives a team a Kubernetes cluster of its own, with its own control plane and its own RBAC, on a cluster you already run. The control plane holds an API server, a controller manager, a data store and a syncer, and it runs as a pod in one namespace of the host cluster.
Inside the virtual cluster the team can be cluster admin, install its own CRDs and create namespaces. The syncer copies to the host only what has to run there: the pods, and the ConfigMaps, Secrets, Services and volume claims they use. The host schedules those pods on its own nodes.
Create one
vcluster create my-vcluster --namespace team-x
The command installs the control plane into the namespace team-x and switches your kube-context to the new cluster. Add --connect=false to stay where you are. It needs permissions in that namespace only, not cluster admin on the host.
By default the virtual cluster keeps its state in an embedded SQLite database on a persistent volume. For heavier use it can store it in etcd, PostgreSQL or MySQL.
Configure it in one file
Settings live in a vcluster.yaml. This one lets Ingress objects reach the host, caps what the virtual cluster may use, and keeps its pods away from other tenants:
sync:
toHost:
ingresses:
enabled: true
policies:
resourceQuota:
enabled: true
quota:
cpu: "10"
memory: 20Gi
pods: "10"
networkPolicy:
enabled: true
vcluster create my-vcluster --namespace team-x --values vcluster.yaml
Where it fits
- A cluster for each pull request. The pipeline creates it, runs the tests and deletes it.
- Teams that need their own CRDs. Two teams can run two versions of the same operator without a cluster each.
- Trying a Kubernetes version. The virtual control plane can run a different Kubernetes version from the host.
Where the isolation stops
In the open source version, every virtual cluster's workloads share the host's nodes. The project's own documentation says shared nodes are not a security boundary for untrusted tenants. For teams inside one company that is usually acceptable; switch on the network policy and a Pod Security Standard anyway. For customers, or for regulated workloads, give each tenant its own nodes or its own cluster.
Clean up
vcluster delete my-vcluster --namespace team-x
Everything the virtual cluster put on the host sits in that one namespace. That is why a virtual cluster costs so little to throw away, and why it suits work that only lasts an afternoon.
Want a second pair of eyes on yours? We do this work for a living.
More guides

What a CI/CD pipeline should do on every commit
CI/CD · 23 November 2026 · 2 min read
Seven checks, from the first build to the rollback.

Where to keep Terraform state, and how to lock it
Infrastructure as code · 23 November 2026 · 2 min read
Remote backends on AWS, Azure and Google Cloud, one state per environment.

Readiness, liveness and startup probes in Kubernetes
Kubernetes · 23 November 2026 · 2 min read
What each probe is for, and the mistakes that restart healthy pods.