diff --git a/services/openclaw/deployment.yaml b/services/openclaw/deployment.yaml index cfc2aaf7..239d3001 100644 --- a/services/openclaw/deployment.yaml +++ b/services/openclaw/deployment.yaml @@ -23,7 +23,7 @@ spec: ai.bstein.dev/instructions: kubectl-field-selectors ai.bstein.dev/role: testing-triage ai.bstein.dev/placement: arm64 gateway lane (jetson preferred) - ai.bstein.dev/config-rev: "20260520-agent-trusted-proxy" + ai.bstein.dev/config-rev: "20260521-persistent-home" spec: serviceAccountName: openclaw-triage automountServiceAccountToken: true @@ -230,7 +230,8 @@ spec: memory: 2Gi volumes: - name: home - emptyDir: {} + persistentVolumeClaim: + claimName: openclaw-home - name: config configMap: name: openclaw-config diff --git a/services/openclaw/kustomization.yaml b/services/openclaw/kustomization.yaml index 21a9e56d..42075404 100644 --- a/services/openclaw/kustomization.yaml +++ b/services/openclaw/kustomization.yaml @@ -7,6 +7,7 @@ resources: - configmap.yaml - rbac.yaml - agent-vault-serviceaccount.yaml + - pvc.yaml - ollama-deployment.yaml - deployment.yaml - service.yaml diff --git a/services/openclaw/pvc.yaml b/services/openclaw/pvc.yaml new file mode 100644 index 00000000..892f75c6 --- /dev/null +++ b/services/openclaw/pvc.yaml @@ -0,0 +1,15 @@ +# services/openclaw/pvc.yaml +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: openclaw-home + namespace: openclaw + labels: + app: openclaw +spec: + accessModes: + - ReadWriteOnce + storageClassName: astreae + resources: + requests: + storage: 2Gi