Supervise and persist ClawdBox node host
This commit is contained in:
16
README.md
16
README.md
@@ -103,9 +103,10 @@ The `/data` volume preserves data across container restarts:
|
||||
|
||||
## OpenClaw Node Host
|
||||
|
||||
On container startup, ClawdBox keeps SSH as the foreground service and
|
||||
opportunistically starts an OpenClaw node host named `ClawdBox-CLI` in the
|
||||
background.
|
||||
ClawdBox runs SSH and the `ClawdBox-CLI` node host as separate containers in
|
||||
the same pod. Kubernetes supervises the node container, while its identity,
|
||||
runtime configuration, and exec approvals persist under
|
||||
`/data/agents/clawd/node-home`.
|
||||
|
||||
The helper scripts are copied into `/data/agents/clawd/bin/` on each startup:
|
||||
|
||||
@@ -115,7 +116,7 @@ status-clawdbox-node
|
||||
stop-clawdbox-node
|
||||
```
|
||||
|
||||
The node host installs `openclaw@2026.6.1` under
|
||||
The node host installs `openclaw@2026.7.2-beta.3` under
|
||||
`/data/agents/clawd/tools/openclaw-node` if it is missing or stale. It gets the
|
||||
Gateway token from `OPENCLAW_GATEWAY_TOKEN` when set, otherwise from the live
|
||||
`openclaw` deployment via the mounted kubeconfig.
|
||||
@@ -123,15 +124,16 @@ Gateway token from `OPENCLAW_GATEWAY_TOKEN` when set, otherwise from the live
|
||||
Useful overrides:
|
||||
|
||||
```bash
|
||||
OPENCLAW_VERSION=2026.6.1
|
||||
OPENCLAW_VERSION=2026.7.2-beta.3
|
||||
OPENCLAW_GATEWAY_HOST=openclaw.apps.lab.apilab.us
|
||||
OPENCLAW_GATEWAY_PORT=443
|
||||
OPENCLAW_GATEWAY_TLS=true
|
||||
CLAWDBOX_NODE_DISPLAY_NAME=ClawdBox-CLI
|
||||
CLAWDBOX_NODE_HOME=/data/agents/clawd/node-home
|
||||
```
|
||||
|
||||
If node startup fails, the pod still starts and SSH remains available. Check
|
||||
`/data/agents/clawd/logs/node-host.log` for details.
|
||||
If node startup fails, SSH remains available while Kubernetes restarts the
|
||||
node container. Check `/data/agents/clawd/logs/node-host.log` for details.
|
||||
|
||||
## Common Tasks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user