Skip to content

Kubernetes Deployment

Install CubeSandbox (control plane + compute plane) with a Helm Chart on an existing Kubernetes cluster.

Difference from the “one-click script” deployment

This is the native K8s path: components run in the cluster and are managed by Helm. If you only have a single physical machine and do not plan to use K8s, see Bare-Metal Deployment or Quick Start instead.

Preview version warning

The current K8s deployment is a preview release. Known issues:

  1. When compute nodes are under resource pressure, Pods may be incorrectly evicted by the K8s control plane, interrupting sandboxes. This is being fixed.
  2. Compute-node upgrades currently have known issues: an upgrade recreates cube-node and interrupts existing sandbox networking on that node. Read the Upgrade guide before you deploy.

These issues will be addressed in later versions. You are welcome to try the K8s deployment path and report issues and suggestions via Issues.

Docs navigation

DocContents
Helm InstallFull steps from cluster readiness to verification (recommended main path)
ArchitectureChart component layers, four DaemonSets, startup order, and data flows
UpgradeControl plane can roll; compute upgrades recreate the Big Pod and interrupt sandboxes
FAQTroubleshooting for install, scheduling, PVM, Proxy, Egress, and upgrades

Install order (required reading)

text
① Cluster ready

② Label nodes (and role taints)

③ Prepare values

④ helm upgrade --install

⑤ Verify

The control plane uses native Deployments; the compute plane uses native apps/v1 DaemonSets. Install needs only standard Kubernetes / Helm.

Tested environments

CubeSandbox has been verified on Tencent Cloud TKE, Kubernetes, and K3s. Tencent Cloud TKE uses VPC-CNI as the CNI plugin; the other two environments use Flannel.

EnvironmentCNI plugin
Tencent Cloud TKEVPC-CNI
KubernetesFlannel
K3sFlannel

Next → Helm Install