openclaw

by Obol Labs

Helm chartv0.5.0App 2026.3.2Apache-2.0Verified publisher

OpenClaw gateway deployment (agent runtime) for Kubernetes.

About this chart

OpenClaw

OpenClaw gateway deployment (agent runtime) for Kubernetes.

Homepage: https://docs.openclaw.ai

Source Code

Requirements

Kubernetes: >=1.26.0-0

Quick start

Add Obol's Helm Charts:

helm repo add obol https://obolnetwork.github.io/helm-charts/
helm repo update

Anthropic (recommended)

helm upgrade --install openclaw obol/openclaw \
  --namespace openclaw --create-namespace \
  --set-string secrets.gatewayToken.value=replace-with-long-random-token \
  --set models.anthropic.enabled=true \
  --set models.anthropic.apiKeyValue=sk-ant-api03-XXXX \
  --set openclaw.agentModel=anthropic/claude-opus-4-6

OpenAI

helm upgrade --install openclaw obol/openclaw \
  --namespace openclaw --create-namespace \
  --set-string secrets.gatewayToken.value=replace-with-long-random-token \
  --set models.openai.enabled=true \
  --set models.openai.apiKeyValue=sk-XXXX \
  --set openclaw.agentModel=openai/gpt-5.2

Ollama (local models)

Ollama is disabled by default. To use a local Ollama instance directly:

helm upgrade --install openclaw obol/openclaw \
  --namespace openclaw --create-namespace \
  --set-string secrets.gatewayToken.value=replace-with-long-random-token \
  --set models.ollama.enabled=true \
  --set models.ollama.baseUrl=http://ollama.ollama.svc.cluster.local:11434/v1 \
  --set "models.ollama.models[0].id=llama3.2:3b" \
  --set "models.ollama.models[0].name=Llama 3.2 3B"

In Obol Stack, Ollama routes through the LiteLLM gateway and is configured automatically via obol model setup.

Access

Port-forward for local access:

kubectl -n openclaw port-forward svc/openclaw-openclaw 18789:18789
open http://127.0.0.1:18789

Fetch the gateway token:

kubectl get secret -n openclaw openclaw-openclaw-secrets \
  -o jsonpath='{.data.OPENCLAW_GATEWAY_TOKEN}' | base64 --decode

Model providers

Three providers are supported. Enable any needed provider(s) with models.<provider>.enabled; all providers may be disabled. API keys are stored in a Kubernetes Secret and injected as environment variables.

Providermodels.<name>.enabledAPI key valueNotes
Anthropicmodels.anthropic.enabled=truemodels.anthropic.apiKeyValueDirect API access
OpenAImodels.openai.enabled=truemodels.openai.apiKeyValueDirect API access
Ollamamodels.ollama.enabled=trueN/ADisabled by default; enable for direct Ollama access

Set the default agent model with openclaw.agentModel (e.g. anthropic/claude-opus-4-6).

Chat channels

OpenClaw can connect to messaging platforms. Enable channels and provide bot tokens:

Telegram

channels:
  telegram:
    enabled: true
    botToken: "123456:ABC-DEF..."
    dmPolicy: "open"  # open | paired | closed

Discord

channels:
  discord:
    enabled: true
    botToken: "MTIz..."
    dmPolicy: "open"

Slack

channels:
  slack:
    enabled: true
    botToken: "xoxb-..."
    appToken: "xapp-..."

RBAC

Grant the OpenClaw service account read-only access to namespace resources:

If reusing an existing ServiceAccount (serviceAccount.create=false), you must also set serviceAccount.name.

helm upgrade --install openclaw obol/openclaw \
  --namespace openclaw \
  --set rbac.create=true \
  --set serviceAccount.automount=true \
  --set serviceAccount.create=false \
  --set serviceAccount.name=openclaw-sa

Init Job

Run a one-shot Job after install to bootstrap the workspace:

The init Job requires persistent storage; keep persistence.enabled=true.

helm upgrade --install openclaw obol/openclaw \
  --namespace openclaw \
  --set initJob.enabled=true \
  --set persistence.enabled=true

Skills injection

Extract a skills.tgz archive from a ConfigMap into the OpenClaw state volume. When skills.createDefault=true (default), an empty ConfigMap is created automatically so the chart deploys without external dependencies.

helm upgrade --install openclaw obol/openclaw \
  --namespace openclaw \
  --set skills.enabled=true

To use an externally managed ConfigMap instead:

helm upgrade --install openclaw obol/openclaw \
  --namespace openclaw \
  --set skills.enabled=true \
  --set skills.configMapName=my-skills-configmap

Obol Stack (Gateway API)

If you're running Obol Stack with Traefik + Gateway API, enable httpRoute:

helm upgrade --install openclaw obol/openclaw \
  --namespace openclaw \
  --set httpRoute.enabled=true \
  --set "httpRoute.hostnames[0]=openclaw-myid.obol.stack"

Values

KeyTypeDefaultDescription
affinityobject{}
channelsobject{"discord":{"botToken":"","dmPolicy":"","enabled":false},"slack":{"appToken":"","botToken":"","enabled":false},"telegram":{"botToken":"","dmPolicy":"","enabled":false}}Chat channel integrations Tokens are stored in the chart Secret and injected as env vars.
channels.discord.botTokenstring""Discord bot token
channels.discord.dmPolicystring""DM policy: "open"
channels.slack.appTokenstring""Slack App-Level Token (xapp-...)
channels.slack.botTokenstring""Slack Bot User OAuth Token (xoxb-...)
channels.telegram.botTokenstring""Telegram Bot API token (from @BotFather)
channels.telegram.dmPolicystring""DM policy: "open"
configobject{"content":"","existingConfigMap":"","key":"openclaw.json"}Configuration for the OpenClaw config file (openclaw.json)
config.contentstring""Optional raw JSON5 configuration (overrides generated config when set)
config.existingConfigMapstring""Use an existing ConfigMap instead of creating one
config.keystring"openclaw.json"ConfigMap key / filename
containerSecurityContextobject{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"runAsGroup":1000,"runAsNonRoot":true,"runAsUser":1000,"seccompProfile":{"type":"RuntimeDefault"}}Container security context
erpcobject{"url":"http://erpc.erpc.svc.cluster.local:4000/rpc"}eRPC integration (exposed as ERPC_URL env var)
extraEnvlist[]Additional environment variables
extraVolumeMountslist[]Additional volume mounts
extraVolumeslist[]Additional volumes
fullnameOverridestring""Override the full resource name
httpRouteobject{"annotations":{},"enabled":false,"hostnames":[],"parentRefs":[{"name":"traefik-gateway","namespace":"traefik","sectionName":"web"}],"pathPrefix":"/"}Gateway API HTTPRoute (recommended for Obol Stack / Traefik Gateway API)
httpRoute.hostnameslist[]Hostnames for routing (required when enabled)
imageobject{"args":["openclaw.mjs","gateway","--allow-unconfigured"],"command":["node"],"env":[],"pullPolicy":"IfNotPresent","repository":"ghcr.io/obolnetwork/openclaw","tag":"2026.4.9"}OpenClaw image repository, pull policy, and tag version
image.argslist["openclaw.mjs","gateway","--allow-unconfigured"]Override the container args (CMD)
image.commandlist["node"]Override the container command (ENTRYPOINT)
image.envlist[]Additional environment variables for the container
imagePullSecretslist[]Credentials to fetch images from private registry
ingressobject{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"chart-example.local","paths":[{"path":"/","pathType":"Prefix"}]}],"tls":[]}Kubernetes Ingress (optional; not used in Obol Stack which uses Gateway API)
initJobobject{"args":[],"command":["node","openclaw.mjs","agent","init"],"enabled":false,"env":[],"image":{"pullPolicy":"IfNotPresent","repository":"ghcr.io/obolnetwork/openclaw","tag":""},"resources":{"limits":{"memory":"512Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}}One-shot init Job (runs once to bootstrap workspace/personality)
initJob.enabledboolfalseEnable a one-shot post-install bootstrap Job. Requires persistence.enabled=true.
initJob.envlist[]Extra environment variables for the init job
initJob.resourcesobject{"limits":{"memory":"512Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}Resource requests/limits for the init job
livenessProbeobject{"enabled":true,"failureThreshold":3,"initialDelaySeconds":10,"periodSeconds":10,"timeoutSeconds":5}Liveness probe (tcpSocket by default to avoid auth-protected HTTP endpoints)
modelsobject{"anthropic":{"api":"","apiKeyEnvVar":"ANTHROPIC_API_KEY","apiKeyValue":"","baseUrl":"https://api.anthropic.com/v1","enabled":false,"models":[{"id":"claude-sonnet-4-5-20250929","name":"Claude Sonnet 4.5"},{"id":"claude-opus-4-6","name":"Claude Opus 4.6"}]},"ollama":{"api":"","apiKeyEnvVar":"OLLAMA_API_KEY","apiKeyValue":"","baseUrl":"","enabled":false,"models":[]},"openai":{"api":"","apiKeyEnvVar":"OPENAI_API_KEY","apiKeyValue":"","baseUrl":"https://api.openai.com/v1","enabled":false,"models":[{"id":"gpt-5.2","name":"GPT-5.2"}]}}Model provider configuration Each provider is independently toggled. All providers may be disabled. API keys are stored in the chart Secret and injected as env vars.
models.anthropic.apiKeyValuestring""API key value (stored in Secret). Leave empty to provide via extraEnvFromSecrets.
models.ollama.apistring""OpenClaw provider API type
models.ollama.apiKeyEnvVarstring"OLLAMA_API_KEY"Env var used for provider API key interpolation in openclaw.json
models.ollama.apiKeyValuestring""Value set for the apiKey env var (not a secret for Ollama)
models.ollama.baseUrlstring""OpenAI-compatible base URL for Ollama. In Obol Stack, Ollama traffic routes through the LiteLLM gateway (litellm.llm.svc:4000). For standalone use, set to your Ollama endpoint (e.g. http://ollama:11434/v1).
nameOverridestring""Override the chart name
nodeSelectorobject{}
openclawobject{"agentModel":"","gateway":{"auth":{"mode":"token"},"bind":"lan","controlUi":{},"http":{"endpoints":{"chatCompletions":{"enabled":true}}},"mode":"local","trustedProxies":[]},"stateDir":"/data/.openclaw","workspaceDir":"/data/.openclaw/workspace"}OpenClaw state/workspace settings (paths should be inside persistence.mountPath)
openclaw.agentModelstring""Default agent model (e.g. "anthropic/claude-sonnet-4-5-20250929"). Empty = use provider default.
openclaw.gateway.controlUiobject{}Control UI settings for browser-based access.
openclaw.gateway.trustedProxieslist[]IP addresses / CIDRs whose proxy headers (X-Forwarded-For etc.) are trusted. Required when OpenClaw sits behind a reverse proxy (e.g. Traefik in k3d).
persistenceobject{"accessModes":["ReadWriteOnce"],"enabled":true,"existingClaim":"","mountPath":"/data","size":"1Gi","storageClass":""}Persistence settings for OpenClaw state directory (contains runtime state + secrets)
podAnnotationsobject{}Pod annotations
podLabelsobject{}Pod labels
podSecurityContextobject{"fsGroup":1000}Pod security context
priorityClassNamestring""
rbacobject{"create":false,"extraRules":[]}RBAC for the ServiceAccount (read-only access to namespace resources)
rbac.extraRuleslist[]Extra rules to append to the generated Role (list of PolicyRule objects)
readinessProbeobject{"enabled":true,"failureThreshold":3,"initialDelaySeconds":5,"periodSeconds":5,"timeoutSeconds":3}Readiness probe (tcpSocket by default to avoid auth-protected HTTP endpoints)
replicaCountint1Number of replicas (OpenClaw should run as a single instance)
resourcesobject{"limits":{"memory":"2Gi"},"requests":{"cpu":"250m","memory":"512Mi"}}Resource requests and limits
secretsobject{"create":true,"existingSecret":"","extraEnvFromSecrets":[],"gatewayToken":{"key":"OPENCLAW_GATEWAY_TOKEN","value":""},"name":""}OpenClaw secrets (one Secret per instance)
secrets.createbooltrueCreate the secret when existingSecret is not set
secrets.existingSecretstring""Use an existing secret instead of creating one
secrets.extraEnvFromSecretslist[]Extra Secret names to load via envFrom (for provider/channel keys, etc.)
secrets.gatewayToken.keystring"OPENCLAW_GATEWAY_TOKEN"Secret key name + env var name for the gateway API authentication token. This token is required to access OpenClaw's HTTP gateway (chat/completions endpoint and dashboard).
secrets.gatewayToken.valuestring""Explicit token value. Required for token auth unless using secrets.existingSecret.
secrets.namestring""Override the created Secret name (defaults to -openclaw-secrets)
serviceobject{"port":18789,"type":"ClusterIP"}Service configuration
serviceAccountobject{"annotations":{},"automount":false,"create":true,"name":""}Create a ServiceAccount for OpenClaw
serviceAccount.automountboolfalseAutomatically mount a ServiceAccount's API credentials? Set to true when rbac.create is true so the agent can access the K8s API.
serviceAccount.namestring""ServiceAccount name. Required when

Deploy openclaw with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has openclaw on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartopenclaw is pinned at v0.5.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply