storage: single 10Gi PVC for /home/node (persist all state)

This commit is contained in:
Clawdbot
2026-01-30 10:57:37 +00:00
parent 1d3f357e2a
commit 6cdaa1a0b9
2 changed files with 8 additions and 11 deletions

View File

@@ -29,20 +29,17 @@ spec:
value: /tmp/npm-cache
- name: XDG_CACHE_HOME
value: /tmp
# If OpenClaw uses HOME for state, keep it in the PVC-backed /home/clawd
# OpenClaw docs default to /home/node in containers; persist it.
- name: HOME
value: /home/clawd
value: /home/node
volumeMounts:
- name: config
mountPath: /home/clawd/.openclaw
- name: home
mountPath: /home/node
- name: tmp
mountPath: /tmp
volumes:
- name: config
- name: home
persistentVolumeClaim:
claimName: openclaw-config
claimName: openclaw-home
- name: tmp
emptyDir: {}
- name: config-secret
secret:
secretName: openclaw-config