Files
wehub-resource-sync e0e362d700
SDK Tests / changes (push) Successful in 2m29s
Real E2E Tests / changes (push) Successful in 2m29s
Deploy Docs Pages / build (push) Has been cancelled
Deploy Docs Pages / deploy (push) Has been cancelled
Real E2E Tests / JavaScript E2E (docker bridge) (push) Has been cancelled
Real E2E Tests / Python E2E (docker bridge) (push) Has been cancelled
Real E2E Tests / Java E2E (docker bridge) (push) Has been cancelled
Real E2E Tests / C# E2E (docker bridge) (push) Has been cancelled
Real E2E Tests / Go E2E (docker bridge) (push) Has been cancelled
Real E2E Tests / Real E2E CI (push) Has been cancelled
SDK Tests / SDK CI (push) Has been cancelled
SDK Tests / CLI Tests (push) Has been cancelled
SDK Tests / Python SDK Quality (code-interpreter) (push) Has been cancelled
SDK Tests / Python SDK Quality (sandbox) (push) Has been cancelled
SDK Tests / Python SDK Tests (code-interpreter) (push) Has been cancelled
SDK Tests / JavaScript SDK Quality And Tests (code-interpreter) (push) Has been cancelled
SDK Tests / JavaScript SDK Quality And Tests (sandbox) (push) Has been cancelled
SDK Tests / Python SDK Tests (sandbox) (push) Has been cancelled
SDK Tests / CLI Quality (push) Has been cancelled
SDK Tests / Kotlin SDK Quality And Tests (sandbox) (push) Has been cancelled
SDK Tests / Kotlin SDK Quality And Tests (code-interpreter) (push) Has been cancelled
SDK Tests / C# SDK Quality And Tests (code-interpreter) (push) Has been cancelled
SDK Tests / C# SDK Quality And Tests (sandbox) (push) Has been cancelled
SDK Tests / Go SDK Quality And Tests (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:39:33 +08:00

1.9 KiB

title, description
title description
Kubernetes Deployment Deploy OpenSandbox components on Kubernetes with Helm charts.

Kubernetes Deployment

This guide covers deploying OpenSandbox on Kubernetes, including the operator, CRDs, and supporting components.

Prerequisites

  • Kubernetes 1.21.1+
  • Helm 3.x
  • kubectl configured for your cluster

Install CRDs and Operator

The OpenSandbox Kubernetes operator manages BatchSandbox, Pool, and SandboxSnapshot custom resources.

For installation instructions and Helm chart values, see the Kubernetes operator documentation.

Configure the Server for Kubernetes

Generate a Kubernetes-oriented server config:

opensandbox-server init-config ~/.sandbox.toml --example k8s

Key Kubernetes-specific configuration sections:

Section Purpose
[kubernetes] Workload provider, BatchSandbox template file
[agent_sandbox] Agent sandbox settings
[ingress] Ingress gateway for sandbox traffic routing
[secure_runtime] Secure container runtime (gVisor, Kata)

See Configuration for the full reference.

Components on Kubernetes

Component Deployment Purpose
Server Deployment Lifecycle control plane
Operator Deployment Manages BatchSandbox/Pool CRDs
Ingress DaemonSet/Deployment Routes traffic to sandboxes
Egress Sidecar Per-sandbox egress policy enforcement
Execd Built into sandbox images In-sandbox execution