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-plane upgrades recreate the cube-node Big Pod (native DaemonSet) and will interrupt existing sandboxes on that node. Before upgrading, call CubeMaster’s isolate API, isolate the node for at least 60 seconds, and destroy the sandboxes on that node.
  3. Because sandbox networking on compute nodes is bound to the Pod’s network interface, recreating cube-node interrupts existing sandbox networks. To address this, you may use a Kubernetes plugin you are familiar with to achieve “in-place upgrade” — update container images without recreating the Pod. After deploying the current version, carefully evaluate changes and test before upgrading further.

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