vcluster

loft-shApache-2.0活跃维护

在现有 Kubernetes 集群上快速创建隔离的虚拟集群,每个租户独享 API Server、CRD 和 RBAC,省去为多租户单独搭建物理集群的成本。

vCluster creates tenant clusters: fully isolated environments delivered as managed Kubernetes, or as the foundation for Slurm, Ray, Run:ai and inference clusters. Each gets its own API server, CRDs and RBAC, and runs on an existing cluster or standalone on bare metal. CNCF Certified Kubernetes.

v0.37.7-rc.4发布于 2026-11-09 16:40 UTC11,373star +4 / 7 天626fork同步于 2026-11-10 11:28 UTC

怎么上手

由 README 提炼,执行前请确认
brew install loft-sh/tap/vcluster
vcluster create my-vcluster --namespace team-x
硬件要求按 README 说明

README 未说明具体显存或 CPU 要求;可运行在已有 Kubernetes 集群、裸金属/VM(Standalone)或单机 Docker(vind)上,GPU 场景仅说明支持 GPU 感知调度与 100K+ GPU 规模部署。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

在现有 K8s 集群或裸金属上为每个团队创建独立租户集群的开源引擎

在现有 Kubernetes 集群上快速创建隔离的虚拟集群,每个租户独享 API Server、CRD 和 RBAC,省去为多租户单独搭建物理集群的成本。

核心能力

  • 每个租户集群独享 API server、控制器与数据存储
  • 租户在集群内是 admin,在宿主集群权限最小化
  • 支持共享节点、专用节点、私有节点与 Standalone 四种架构
  • Auto Nodes 基于 Karpenter 按负载自动扩缩私有节点
  • 支持快照恢复到 S3/OCI/Azure Blob 及 Docker 本地运行

容易踩的坑

需先有可用的 Kubernetes 集群和已配置的 kubectl,否则只能用 --driver docker 的 vind 模式;Slurm、Ray、Run:ai、推理等集群类型需通过 vCluster Platform 提供,不在本仓库;Docker 部署由 CLI 驱动,不通过 vcluster.yaml 配置。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.37.7-rc.4
  1. v0.37.7-rc.4pre-release最新正式版2026-11-09 · 2026-11-09 16:40 UTC
  2. v0.37.7-rc.3pre-release2026-11-09 · 2026-11-09 15:34 UTC
    查看更新说明
  3. v0.38.0-rc.2pre-release2026-11-04 · 2026-11-04 16:12 UTC
    查看更新说明
  4. v0.38.0-rc.1pre-release2026-11-04 · 2026-11-04 02:03 UTC
    查看更新说明
  5. v0.37.7-rc.2pre-release2026-11-03 · 2026-11-03 14:54 UTC
    查看更新说明

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    GitHub stars Slack LinkedIn X

    Website · Quickstart · Documentation · Blog · Slack

        

    CNCF Certified Kubernetes · Distribution · Kubernetes AI Conformant


    About

    vCluster creates Tenant Clusters: fully isolated environments delivered as managed Kubernetes, or as the foundation for Slurm, Ray, Run:ai and inference clusters. Each gets its own API server, CRDs and RBAC, and runs on an existing cluster or standalone on bare metal. CNCF Certified Kubernetes.

    Every cluster becomes a product you can ship. Sell it to customers or serve it to internal teams from the same platform, with each tenant seeing only their own cluster and nothing else. The control plane stays invisible to tenants: no shared control plane nodes, no in-cluster agent pods, and no lateral path between environments.

    Because a Tenant Cluster is upstream Kubernetes, everything built for the standard API works against it unmodified: kubectl, Helm, Argo, Crossplane, operators, and CRDs.

    40M+ Tenant Clusters deployed. vCluster runs in production at Adobe, CoreWeave, NVIDIA, Nebius, Lintasarta, Atlan, Deloitte, and across 50+ AI clouds and Fortune 500 platform organizations, powering 100K+ GPUs and 1M+ CPUs.

    vCluster demo: tenant team-a installs a CRD as cluster-admin, then the same command in tenant team-b returns nothing


    🚀 Quick start

    # Install the vCluster CLI
    brew install loft-sh/tap/vcluster
    
    # Create a Tenant Cluster
    vcluster create my-vcluster --namespace team-x
    
    # Use kubectl as usual. You are now inside your Tenant Cluster.
    kubectl get namespaces
    

    Prerequisites: a running Kubernetes cluster and kubectl configured.

    👉 Full quickstart guide

    🐳 Run locally on Docker with vind

    No Kubernetes cluster? Run a complete Tenant Cluster in Docker containers with vind (vCluster in Docker). Like kind, but with the full vCluster feature set: UI, sleep and resume, LoadBalancer, image cache, and external nodes joining over VPN.

    vcluster create my-vcluster --driver docker
    kubectl get namespaces
    

    🎮 Try it in the browser

    Try on Killercoda

    🎁 vCluster free tier

    Real usage, not a gated demo. Unlimited Tenant Clusters up to 64 CPUs and 32 GPUs, plus the full vCluster Platform UI, for free. Get started free →


    🧩 Every kind of cluster

    One platform turns raw compute into the cluster type each tenant actually asks for. Kubernetes is the foundation; the rest are delivered on top of it.

    Cluster typeWhat a tenant gets
    Kubernetes ClustersA dedicated, CNCF-certified Kubernetes cluster with its own API server, CRDs, and RBAC
    Nested ClustersTenant Clusters running on the Control Plane Cluster's shared nodes for maximum density
    Inference ClustersServing stacks such as Dynamo and llm-d, isolated per tenant
    Ray ClustersRay for distributed training and data processing, isolated per tenant
    Run:ai ClustersRun:ai scheduling on top of an isolated Tenant Cluster
    Slurm Clusters (Beta)Managed Slurm for HPC and batch training
    Agent Sandbox Clusters (Coming soon)Isolated clusters for agentic and untrusted code execution

    Slurm, Ray, Run:ai, inference, and agent sandbox clusters are delivered through vCluster Platform. This repository is the open-source engine that every one of them is built on.

    👉 See all cluster types


    🏗️ Architectures

    vCluster supports multiple deployment architectures. Two things vary independently: where the control plane runs (an existing Kubernetes cluster, a standalone binary, or Docker) and how tenant workloads are placed (shared nodes or private nodes). The modes below combine them, offering progressively stronger isolation from dense shared infrastructure through to fully standalone deployments on bare metal.

    Architecture comparison

    Shared NodesDedicated NodesPrivate NodesStandalone
    Control Plane ClusterRequiredRequiredRequiredNot required
    Node isolation❌✅✅✅
    CNI/CSI isolation❌❌✅✅
    Bare metal ready··✅✅
    Best forDev/test, densityProduction tenantsCompliance, GPUAI factories, edge

    👉 Full architecture guide

    Minimal configuration

    sync:
      fromHost:
        nodes:
          enabled: false  # Uses pseudo nodes
    
    sync:
      fromHost:
        nodes:
          enabled: true
          selector:
            labels:
              tenant: my-tenant
    
    privateNodes:
      enabled: true
    controlPlane:
      service:
        spec:
          type: NodePort
    
    controlPlane:
      standalone:
        enabled: true
        joinNode:
          enabled: true
    privateNodes:
      enabled: true
    
    autoNodes:
      enabled: true
      nodeProvider: <provider>
    privateNodes:
      enabled: true
    
    vcluster create my-vcluster --driver docker
    

    ✨ Key features

    FeatureDescription
    🎛️ Its own API server, per tenantEvery Tenant Cluster runs a dedicated control plane: API server, controller manager, and data store. Full Kubernetes API isolation, not a namespace with rules layered on top
    🔒 Strong tenant isolationTenants hold admin inside their Tenant Cluster while holding minimal permissions on the Control Plane Cluster
    🎮 GPU-aware schedulingDynamic Resource Allocation with resource claims, resource claim templates, and device classes, plus in-place pod resizing
    ⚡ Auto NodesKarpenter-powered provisioning and deprovisioning of private nodes across cloud, hybrid, and bare metal, with per-pool node profiles
    🖥️ Standalone deploymentRun without a Control Plane Cluster on dedicated infrastructure or bare metal, purpose-built for AI factories and on-prem GPU fleets
    🐳 Runs on DockerA complete Tenant Cluster in Docker containers with no Kubernetes dependency, through vcluster create --driver docker
    🔐 Node VPN (Platform)Private nodes join over an encrypted overlay, so a single Tenant Cluster can span sites, networks, and clouds
    📸 Snapshot and restoreSnapshot a Tenant Cluster to S3, OCI, Azure Blob, or local storage, and restore it elsewhere
    💤 Sleep mode (Platform)Pause inactive Tenant Clusters to save resources, with instant wake when needed
    🔗 Shared platform stack (Shared / Dedicated Nodes)Reuse the Control Plane Cluster's CNI, CSI, ingress, and other infrastructure, with no duplicate platform components
    🔄 Resource syncing (Shared / Dedicated Nodes)Bidirectional sync of any Kubernetes resource: pods, services, secrets, configmaps, CRDs, and Gateway API objects
    🧩 IntegrationsNative support for cert-manager, external-secrets, KubeVirt, Istio, and metrics-server
    📊 High availabilityMultiple replicas with leader election. Embedded etcd or external databases (PostgreSQL, MySQL, RDS)

    Shared platform stack, resource syncing, and Control Plane Cluster integrations apply in Shared and Dedicated Nodes modes, where the Tenant Cluster reuses the Control Plane Cluster's CNI, CSI, and platform stack. Private Nodes and Standalone deployments bring their own CNI, CSI, and platform components.


    🆕 What's new

    VersionFeatureDescription
    v0.36Gateway API and node profilesGateway API sync for Tenant Clusters, node profiles for private nodes, and a pinnable standalone advertise address
    v0.35Snapshots and Kubernetes 1.36etcd v3 snapshot facilities for embedded etcd, wildcard custom resource proxy, kine metrics, Kubernetes v1.36
    v0.34Multi-region platform and standalone snapshotsActive/active vCluster Platform across regions (Route 53 + RDS), standalone snapshots (S3 / OCI / local), first-class template parameters
    v0.33Enterprise reliability and storageAutomatic leaf-cert regeneration, Azure Blob snapshot destinations, workload-level sleep annotations
    v0.32Docker driver and DRARun vCluster on Docker, Dynamic Resource Allocation (DRA) for GPU workloads, in-place pod resizing
    v0.27–v0.31Architecture foundationsPrivate Nodes (v0.27), Auto Nodes (v0.28), Standalone (v0.29), vCluster VPN and Netris (v0.30), snapshot and cross-cluster APIs (v0.31)

    👉 Full changelog


    🎯 Who runs vCluster

    Use caseWhat it solvesLearn more
    AI cloud providersLaunch a hyperscaler-like managed cluster experience for GPU customers. Automate tenant, cluster, and bare metal provisioning end to end.View →
    AI factoriesRun AI on-prem where your data and GPUs live. Give every team the GPU access they need without multiplying infrastructure.View →
    Internal GPU platformsMaximize GPU utilization without sacrificing isolation. Self-service Kubernetes for AI/ML teams.View →
    Distributed inferenceIsolated, production-grade serving stacks per tenant, per model, or per customer.View →
    Sovereign cloudsData residency and tenant isolation enforced at the infrastructure layer.View →
    Bare metal KubernetesRun production Kubernetes on bare metal with zero VMs. Isolation without virtualization overhead.View →
    Software vendorsShip Kubernetes-native products. Each customer gets their own isolated Tenant Cluster.View →
    Environments and cost savingsConsolidate clusters, pause idle workloads with sleep mode, and cut Kubernetes cost at scale.View →

    Start turnkey with the vCluster Platform UI and CLI, or call the APIs and put your own portal and brand in front. It is a two-way door, with no re-platforming.


    🌐 The vCluster stack

    vCluster is the foundation of a broader platform for running Kubernetes and AI infrastructure on your own hardware, from a single rack to 100K-GPU superclusters.

    ProductWhat it does
    vClusterTenant Clusters. A dedicated control plane per tenant, with API, data, and optionally network isolation
    vNodeRuntime-level isolation. Kernel-enforced boundaries (Linux user namespaces, seccomp, cgroups, AppArmor) without VM overhead
    vMetalBare metal provisioning and lifecycle for GPU fleets. Turns GPU racks into a cloud platform
    Netris (integration)Hardware-enforced network isolation via programmatic VLANs, VRFs, and ACLs

    Together they provide the full stack for an AI factory: certified Kubernetes, isolated Tenant Clusters, runtime workload sandboxing, and GPU infrastructure operations. The ClusterMAX™ security criteria call for strong isolation between tenants, and name vNode Private Nodes.


    🏢 Trusted by

    Also used by: Adobe, NVIDIA, ABBYY, Precisely, Shipwire, and many more, with 50+ GPU clouds and Fortune 500s running vCluster in production.

    👉 View all case studies


    📚 Learn more

    EventSpeakerTitleLink
    NVIDIA GTC 2026Lukas GenteleBuild a Software-Defined Multi-Tenant NVLinked ClusterWatch
    KubeCon NA 2025 (Keynote)Lukas GenteleAutoscaling GPU Clusters AnywhereWatch
    Platform Engineering Day NA 2025 (Keynote)Saiyam PathakAI-Ready Platforms: Scaling Teams Without Scaling CostsWatch
    Rejekts NA 2025Hrittik Roy, Saiyam PathakBeyond the Default Scheduler: Navigating GPU MultiTenancy in AI EraWatch
    KubeCon EU 2025Paco Xu, Saiyam PathakA Huge Cluster or Multi-Clusters? Identifying the BottleneckWatch
    HashiConf 2025Scott McAllisterGPU sharing done right: Secrets, security, and scaling with Vault and vClusterWatch
    FOSDEM 2025Hrittik Roy, Saiyam PathakAccelerating CI Pipelines: Rapid Kubernetes Testing with vClusterWatch
    KubeCon India 2024 (Keynote)Saiyam PathakFrom Outage To Observability: Lessons From a Kubernetes MeltdownWatch
    CNCF Book Club 2024Marc BoorshteinKubernetes: An Enterprise Guide (vCluster)Watch
    KCD NYC 2024Lukas GenteleTenant Autonomy & Isolation In Multi-Tenant Kubernetes ClustersWatch
    KubeCon EU 2023Ilia Medvedev, Kostis KapelonisHow We Securely Scaled Multi-Tenancy with VCluster, Crossplane, and Argo CDWatch
    KubeCon NA 2022Joseph Sandoval, Dan GarfieldHow Adobe Planned For Scale With Argo CD, Cluster API, And VClusterWatch
    KubeCon NA 2022Whitney Lee, Mauricio SalatinoWhat a RUSH! Let's Deploy Straight to Production!Watch
    TGI Kubernetes 2022TGITGI Kubernetes 188: vClusterWatch
    Mirantis Tech Talks 2022MirantisMulti-tenancy & Isolation using Virtual Clusters (vCluster) in K8sWatch
    Solo Webinar 2022Rich Burroughs, Fabian KellerSpeed your Istio development environment with vClusterWatch
    KubeCon NA 2021Lukas GenteleBeyond Namespaces: Virtual Clusters are the Future of Multi-TenancyWatch
    ChannelSpeakerTitleLink
    TeKanAid 2024TeKanAidGetting Started with vCluster: Build Your IDP with Backstage, Crossplane, and ArgoCDWatch
    Rawkode 2021David McKay, Lukas GenteleHands on Introduction to vClusterWatch
    Kubesimplify 2021Saiyam Pathak, Lukas GenteleLet's Learn vClusterWatch
    TechWorld with Nana 2021NanaBuild your Self-Service Kubernetes Platform with Virtual ClustersWatch
    DevOps Toolkit 2021Viktor FarcicHow To Create Virtual Kubernetes ClustersWatch

    Featured in 4 books on Kubernetes and platform engineering.

    👉 YouTube channel · Blog · Resources


    🤝 Contributing

    We welcome contributions. Check out the contributing guide to get started.


    💬 Connect with us


    📜 License

    vCluster is licensed under the Apache 2.0 License.


    © 2026 vCluster Labs. All rights reserved.

    Made with ❤️ by the vCluster community.

    ⭐ Star us on GitHub. It helps.