
OpenClaw(前身为 Moltbot/Clawdbot)的 Kubernetes 舵手图
概览
OpenClaw(网关)的Helm Chart。部署单实例StatefulSet,具备持久存储、秘密管理及可选LiteLLM代理用于模型路由。 - Helm v3 - 支持持久卷的Kubernetes集群(若禁用持久性则可选) 图表以 GHCR 中的 OCI 工件形式发布。 1)通过@BotFather创建Telegram机器人: - 发送消息@BotFather,发送 /newbot,并按照提示操作- 保存令牌:export telegramBotToken= 它部署了 OpenClaw 网关和带有 Github Copilot 提供者的 LiteLLM 代理(默认启用)。 1) (替代方案)使用特定的模型提供者(例如Anthropic): 然后在浏览器中打开http://localhost:18789/?token=$gatewayToken。
概述(AI 翻译)
OpenClaw(网关)的Helm Chart。部署单实例StatefulSet,具备持久存储、秘密管理及可选LiteLLM代理用于模型路由。
要求
- Helm v3
- 支持PersistentVolume的Kubernetes集群(若禁用持久化则为可选)
安装
图表以 GHCR 中的 OCI 工件形式发布。
1)通过@BotFather创建Telegram机器人:
- 给@BotFather消息,发送
/newbot,并按照提示操作 - 保存标记:
export telegramBotToken=
1)生成网关令牌:
1)安装图表:
它部署了 OpenClaw 网关和带有 Github Copilot 提供者的 LiteLLM 代理(默认启用)。
1) (替代方案)使用特定的模型提供者(例如Anthropic):
1)访问门户:
然后在浏览器中打开。
1) (可选) 通过 noVNC 查看 Chrome 浏览器的图形界面:
然后在浏览器中打开,查看Chrome桌面。
浏览器图形界面
Chrome 在虚拟显示中以头模式运行。通过 noVNC 访问 kovnc,访问 6080* 端口,实时观看浏览器自动化。
工作原理
supervisord 管理容器内的完整 GUI 堆栈:
- Xvfb — 虚拟帧缓冲区(显示
:99)
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
OpenClaw Helm Chart
Helm chart for OpenClaw (gateway). Deploys a single-instance StatefulSet with persistent storage, secrets management, and an optional LiteLLM proxy for model routing.
Requirements
- Helm v3
- A Kubernetes cluster with PersistentVolume support (optional if persistence is disabled)
Install
Charts are published as OCI artifacts in GHCR.
-
Create a Telegram bot via @BotFather:
- Message @BotFather, send
/newbot, and follow the prompts - Save the token:
export telegramBotToken=
- Message @BotFather, send
-
Generate a gateway token:
export gatewayToken=$(openssl rand -hex 32) -
Install the chart:
helm install openclaw oci://ghcr.io/feiskyer/openclaw-kubernetes/openclaw \ --create-namespace --namespace openclaw \ --set secrets.openclawGatewayToken=$gatewayToken \ --set secrets.telegramBotToken=$telegramBotTokenThis deploys the OpenClaw gateway and a LiteLLM proxy with Github Copilot provider (enabled by default).
-
(Alternative) Use a specific model provider (e.g. Anthropic):
helm install openclaw oci://ghcr.io/feiskyer/openclaw-kubernetes/openclaw \ --create-namespace --namespace openclaw \ --set secrets.openclawGatewayToken=$gatewayToken \ --set secrets.telegramBotToken=$telegramBotToken \ --set litellm.secrets.provider=anthropic \ --set litellm.secrets.apiKey= \ --set litellm.secrets.apiBase= \ --set litellm.model=claude-opus-4.6 -
Access the portal:
kubectl --namespace openclaw port-forward openclaw-0 18789:18789Then open in your browser.
-
(Optional) View the Chrome browser GUI via noVNC:
kubectl --namespace openclaw port-forward openclaw-0 6080:6080Then open in your browser to see the Chrome desktop.
Browser GUI
Chrome runs in headed mode inside a virtual display. Access the desktop via noVNC on port 6080 to watch browser automation in real time.
supervisord manages the full GUI stack inside the container:
- Xvfb — virtual framebuffer (display
:99) - Fluxbox — lightweight window manager
- x11vnc — VNC server on port
5900(localhost only) - websockify + noVNC — bridges VNC to WebSocket, served on port
6080 - OpenClaw gateway — launches Chrome against
DISPLAY=:99
All processes auto-restart on failure.
Environment variables:
| Variable | Default | Description |
|---|---|---|
DISPLAY_NUM |
99 |
X display number |
SCREEN_RESOLUTION |
1920x1080x24 |
Virtual screen resolution |
VNC_PORT |
5900 |
Internal VNC port (not exposed externally) |
NOVNC_PORT |
6080 |
noVNC web UI port |
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add feiskyer/openclaw-kubernetes