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:
- When compute nodes are under resource pressure, Pods may be incorrectly evicted by the K8s control plane, interrupting sandboxes. This is being fixed.
- Compute-plane upgrades recreate the
cube-nodeBig 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. - Because sandbox networking on compute nodes is bound to the Pod’s network interface, recreating
cube-nodeinterrupts 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
| Doc | Contents |
|---|---|
| Helm Install | Full steps from cluster readiness to verification (recommended main path) |
| Architecture | Chart component layers, four DaemonSets, startup order, and data flows |
| Upgrade | Control plane can roll; compute upgrades recreate the Big Pod and interrupt sandboxes |
| FAQ | Troubleshooting for install, scheduling, PVM, Proxy, Egress, and upgrades |
Install order (required reading)
① Cluster ready
↓
② Label nodes (and role taints)
↓
③ Prepare values
↓
④ helm upgrade --install
↓
⑤ VerifyThe 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.
| Environment | CNI plugin |
|---|---|
| Tencent Cloud TKE | VPC-CNI |
| Kubernetes | Flannel |
| K3s | Flannel |
Next → Helm Install