SkillAgentSearch skills...

Vcluster

vCluster - Create fully functional virtual Kubernetes clusters - Each vcluster runs inside a namespace of the underlying k8s cluster. It's cheaper than creating separate full-blown clusters and it offers better multi-tenancy and isolation than regular namespaces.

Install / Use

/learn @loft-sh/Vcluster

README

<div align="center"> <a href="https://www.vcluster.com"> <picture> <source media="(prefers-color-scheme: dark)" srcset="docs/static/media/vcluster_horizontal_orange_white.svg"> <source media="(prefers-color-scheme: light)" srcset="docs/static/media/vcluster_horizontal_orange_black.svg"> <img alt="vCluster" src="docs/static/media/vcluster_horizontal_orange_white.svg" width="400"> </picture> </a> <p><strong>Flexible Tenancy For Kubernetes and AI Infra</strong></p>

GitHub stars Slack LinkedIn X

WebsiteQuickstartDocumentationBlogSlack

</div>

What is vCluster?

vCluster creates fully functional virtual Kubernetes clusters that run inside namespaces of a host cluster. Each virtual cluster has its own API server, runs on shared or dedicated infrastructure, and gives you flexible tenancy options—from simple namespaces to fully dedicated clusters.

40M+ virtual clusters deployed by companies like Adobe, CoreWeave, Atlan, and NVIDIA.

<div align="center">

vCluster gif

</div>

🚀 Quick Start

# Install vCluster CLI
brew install loft-sh/tap/vcluster

# Create a virtual cluster
vcluster create my-vcluster --namespace team-x

# Use kubectl as usual - you're now in your virtual cluster!
kubectl get namespaces

Prerequisites: A running Kubernetes cluster and kubectl configured.

👉 Full Quickstart Guide

🎮 Try Without Installing

No Kubernetes cluster? Try vCluster instantly in your browser:

Try on Killercoda


🆕 What's New

| Version | Feature | Description | |---------|---------|-------------| | v0.30 | vCluster VPN & Netris Integration | Tailscale-powered overlay network and automated network isolation for hybrid infrastructures | | v0.29 | Standalone Mode | Run vCluster without a host cluster—directly on bare metal or VMs | | v0.28 | Auto Nodes | Karpenter-powered dynamic autoscaling for private nodes | | v0.27 | Private Nodes | External nodes with full CNI/CSI isolation | | v0.26 | Hybrid Scheduling & Namespace Syncing | Multiple scheduler support for AI/ML workloads and fine-grained namespace synchronization |

👉 Full Changelog


🎯 Use Cases

| Use Case | Description | Learn More | |----------|-------------|------------| | GPU Cloud Providers | Launch managed K8s for GPUs. Give customers isolated, production-grade Kubernetes fast. | View → | | Internal GPU Platform | Maximize GPU utilization without sacrificing isolation. Self-service access for AI/ML teams. | View → | | AI Factory | Run AI on-prem where your data lives. Multi-tenant K8s for training, fine-tuning, inference. | View → | | Bare Metal K8s | Run Kubernetes on bare metal with zero VMs. Isolation without expensive overhead. | View → | | Software Vendors | Ship Kubernetes-native software. Each customer gets their own isolated virtual cluster. | View → | | Cost Savings | Cut Kubernetes costs by consolidating clusters. Sleep mode pauses inactive clusters. | View → |


🏗️ Architectures

vCluster offers multiple deployment architectures. Each builds on the previous, offering progressively more isolation.

Architecture Comparison

| | Shared Nodes | Dedicated Nodes | Private Nodes | Standalone | |---|:---:|:---:|:---:|:---:| | Host Cluster | Required | Required | Required | Not Required | | Node Isolation | ❌ | ✅ | ✅ | ✅ | | CNI/CSI Isolation | ❌ | ❌ | ✅ | ✅ | | Best For | Dev/test, cost | Production | Compliance, GPU | Bare metal, edge |

👉 Full Architecture Guide

Minimal Configuration

<details> <summary>🔹 Shared Nodes — Maximum density, minimum cost</summary> Virtual clusters share the host cluster's nodes. Workloads run as regular pods in a namespace. <div align="center"> <img src="./assets/vcluster-architecture-shared-nodes.png" alt="Shared Nodes Architecture" width="600"> </div>
sync:
  fromHost:
    nodes:
      enabled: false  # Uses pseudo nodes
</details> <details> <summary>🔹 Dedicated Nodes — Isolated compute on labeled node pools</summary> Virtual clusters get their own set of labeled host nodes. Workloads are isolated but still managed by the host. <div align="center"> <img src="./assets/vcluster-architecture-dedicated-nodes.png" alt="Dedicated Nodes Architecture" width="600"> </div>
sync:
  fromHost:
    nodes:
      enabled: true
      selector:
        labels:
          tenant: my-tenant
</details> <details> <summary>🔹 Private Nodes <sup>v0.27+</sup> — Full CNI/CSI isolation</summary> External nodes join the virtual cluster directly with their own CNI, CSI, and networking stack. Complete workload isolation from the host cluster. <div align="center"> <img src="./assets/vcluster-architecture-private-nodes.png" alt="Private Nodes Architecture" width="600"> </div>
privateNodes:
  enabled: true
controlPlane:
  service:
    spec:
      type: NodePort
</details> <details> <summary>🔹 vCluster Standalone <sup>v0.29+</sup> — No host cluster required</summary> Run vCluster without any host cluster. Deploy the control plane directly on bare metal or VMs. The highest level of isolation—vCluster becomes the cluster. <div align="center"> <img src="./assets/vcluster-architecture-standalone.png" alt="Standalone Architecture" width="600"> </div>
controlPlane:
  standalone:
    enabled: true
    joinNode:
      enabled: true
privateNodes:
  enabled: true
</details> <details> <summary>⚡ Auto Nodes <sup>v0.28+</sup> — Karpenter-powered dynamic autoscaling</summary> Automatically provision and deprovision private nodes based on workload demand. Works across public cloud, private cloud, hybrid, and bare metal environments. <div align="center"> <img src="./assets/vcluster-architecture-auto-nodes.png" alt="Auto Nodes Architecture" width="600"> </div>
autoNodes:
  enabled: true
  nodeProvider: <provider>
privateNodes:
  enabled: true
</details>

✨ Key Features

| Feature | Description | |---------|-------------| | 🎛️ Isolated Control Plane | Each vCluster gets its own API server, controller manager, and data store—complete Kubernetes API isolation | | 🔗 Shared Platform Stack | Leverage the host cluster's CNI, CSI, ingress, and other infrastructure—no duplicate platform components | | 🔒 Security & Multi-Tenancy | Tenants get admin access inside their vCluster while having minimal permissions on the host cluster | | 🔄 Resource Syncing | Bidirectional sync of any Kubernetes resource. Pods, services, secrets, configmaps, CRDs, and more | | 💤 Sleep Mode | Pause inactive virtual clusters to save resources. Instant wake when needed | | 🔌 Integrations | Native support for cert-manager, external-secrets, KubeVirt, Istio, and metrics-server | | 📊 High Availability | Multiple replicas with leader election. Embedded etcd or external databases (PostgreSQL, MySQL, RDS) |


🏢 Trusted By

<table> <tr> <td align="center"><a href="https://www.vcluster.com/case-studies/atlan"><strong>Atlan</strong></a><br/>100 → 1 clusters</td> <td align="center"><a href="https://www.vcluster.com/case-studies/aussie-broadband"><strong>Aussie Broadband</strong></a><br/>99% faster provisioning</td> <td align="center"><a href="https://www.vcluster.com/case-studies/coreweave"><strong>CoreWeave</strong></a><br/>GPU cloud at scale</td> </tr> <tr> <td align="center"><a href="https://www.vcluster.com/case-studies/lintasarta"><strong>Lintasarta</strong></a><br/>170+ virtual clusters in prod</td> <td align="center"><a href="https://www.vcluster.com/case-studies/fortune-500-insurance-company"><strong>Fortune 500 Insurance Company</strong></a><br/>70% reduction in Kubernetes cost</td> <td align="center"><a href="https://www.vcluster.com/case-studies/scanmetrix"><strong>Scanmetrix</strong></a><br/>99% faster deployments</td> </tr> <tr> <td align="center"><a href="https://www.vcluster.com/case-studies/deloitte"><strong>Deloitte</strong></a><br/>Enterprise K8s platform</td> <td align="center"><a href="https://www.vcluster.com/case-studie
View on GitHub
GitHub Stars11.1k
CategoryDevelopment
Updated5h ago
Forks565

Languages

Go

Security Score

100/100

Audited on Mar 24, 2026

No findings