agent(openclaw): persist gateway state

This commit is contained in:
jenkins 2026-05-21 02:39:53 -03:00
parent 89345cfddc
commit c5dc6a6c80
3 changed files with 19 additions and 2 deletions

View File

@ -23,7 +23,7 @@ spec:
ai.bstein.dev/instructions: kubectl-field-selectors ai.bstein.dev/instructions: kubectl-field-selectors
ai.bstein.dev/role: testing-triage ai.bstein.dev/role: testing-triage
ai.bstein.dev/placement: arm64 gateway lane (jetson preferred) 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: spec:
serviceAccountName: openclaw-triage serviceAccountName: openclaw-triage
automountServiceAccountToken: true automountServiceAccountToken: true
@ -230,7 +230,8 @@ spec:
memory: 2Gi memory: 2Gi
volumes: volumes:
- name: home - name: home
emptyDir: {} persistentVolumeClaim:
claimName: openclaw-home
- name: config - name: config
configMap: configMap:
name: openclaw-config name: openclaw-config

View File

@ -7,6 +7,7 @@ resources:
- configmap.yaml - configmap.yaml
- rbac.yaml - rbac.yaml
- agent-vault-serviceaccount.yaml - agent-vault-serviceaccount.yaml
- pvc.yaml
- ollama-deployment.yaml - ollama-deployment.yaml
- deployment.yaml - deployment.yaml
- service.yaml - service.yaml

View File

@ -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