storage: single 10Gi PVC for /home/node (persist all state)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user