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-node upgrades currently have known issues: an upgrade recreates
cube-node; on the Pod network that interrupts existing sandbox networking on the node, while on the default host network the netns survives the recreate. Read the Upgrade guide before you deploy. - The default host network is new and may interact with your CNI / Pod Security Admission (e.g. Cilium eBPF,
restrictedPSA). Test it in a non-production cluster first; see Install · cube-node networking.
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 (the netns survives on the default host network) |
| 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