Skip to content
Blog

Kubernetes

Kubernetes mode is designed for production-grade, multi-tenant deployments.

  1. Gateway runs as a cluster service and orchestrates workers.
  2. For active conversations, gateway creates worker deployments/pods.
  3. Workers run OpenClaw runtime and connect back to gateway for job delivery.
  4. Worker storage is backed by PVCs mounted at /workspace for session continuity.

Typical controls in Kubernetes mode include:

  • Pod-level isolation for workers
  • NetworkPolicies to restrict direct egress
  • Gateway-mediated outbound traffic and MCP calls
  • RBAC for least-privilege gateway orchestration
  • Optional hardened runtimes such as gVisor/Kata where available
  • Worker session data is stored under /workspace
  • Per-deployment PVCs preserve state across scale-to-zero/resume cycles
  • PVCs are cleaned up when deployments are removed after inactivity

Use Kubernetes mode when you need:

  • Stronger tenant isolation
  • Cluster scheduling and autoscaling
  • Production operations with Helm-based deployment

Install with Helm chart and configure secrets via Sealed Secrets for production environments.