From 6cdaa1a0b9f8ed692c99e944a58405b1475a7b00 Mon Sep 17 00:00:00 2001 From: Clawdbot Date: Fri, 30 Jan 2026 10:57:37 +0000 Subject: [PATCH] storage: single 10Gi PVC for /home/node (persist all state) --- manifests/deployment.yaml | 15 ++++++--------- manifests/pvc.yaml | 4 ++-- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index 281bc93..972f5d5 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -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 diff --git a/manifests/pvc.yaml b/manifests/pvc.yaml index 04fb7a9..bfbcc3d 100644 --- a/manifests/pvc.yaml +++ b/manifests/pvc.yaml @@ -1,12 +1,12 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: openclaw-config + name: openclaw-home namespace: openclaw spec: accessModes: - ReadWriteOnce resources: requests: - storage: 2Gi + storage: 10Gi # storageClassName: