openclaw: corrige mountPath a /home/node/.openclaw
El config dir de OpenClaw es /home/node/.openclaw, no /data. Monta el PVC en la ruta correcta para que openclaw.json persista. Elimina OPENCLAW_DATA_DIR (no era el config dir). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -26,8 +26,6 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: 18789
|
- containerPort: 18789
|
||||||
env:
|
env:
|
||||||
- name: OPENCLAW_DATA_DIR
|
|
||||||
value: /data
|
|
||||||
- name: NODE_OPTIONS
|
- name: NODE_OPTIONS
|
||||||
value: --max-old-space-size=1536
|
value: --max-old-space-size=1536
|
||||||
resources:
|
resources:
|
||||||
@@ -39,7 +37,7 @@ spec:
|
|||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /data
|
mountPath: /home/node/.openclaw
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
|||||||
Reference in New Issue
Block a user