apiVersion: apps/v1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: '5' kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"name":"openclaw","namespace":"openclaw"},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"openclaw"}},"template":{"metadata":{"labels":{"app":"openclaw"}},"spec":{"containers":[{"env":[{"name":"OPENCLAW_DATA_DIR","value":"/data"}],"image":"ghcr.io/openclaw/openclaw:2026.3.2","name":"openclaw","ports":[{"containerPort":18789}],"resources":{"limits":{"cpu":"500m","memory":"1Gi"},"requests":{"cpu":"100m","memory":"256Mi"}},"volumeMounts":[{"mountPath":"/data","name":"data"}]}],"securityContext":{"fsGroup":1000,"runAsUser":1000},"volumes":[{"name":"data","persistentVolumeClaim":{"claimName":"openclaw-pvc"}}]}}}} ' name: openclaw namespace: openclaw spec: progressDeadlineSeconds: 600 replicas: 1 revisionHistoryLimit: 10 selector: matchLabels: app: openclaw strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate template: metadata: annotations: kubectl.kubernetes.io/restartedAt: '2026-04-09T18:59:08Z' labels: app: openclaw spec: containers: - env: - name: OPENCLAW_DATA_DIR value: /data - name: NODE_OPTIONS value: --max-old-space-size=1536 - name: OPENCLAW_STATE_DIR value: /data - name: OPENCLAW_TOKEN valueFrom: secretKeyRef: key: OPENCLAW_TOKEN name: openclaw-token image: ghcr.io/openclaw/openclaw:2026.3.2 imagePullPolicy: IfNotPresent name: openclaw ports: - containerPort: 18789 protocol: TCP resources: limits: cpu: '1' memory: 2Gi requests: cpu: 100m memory: 512Mi terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /data name: data dnsPolicy: ClusterFirst restartPolicy: Always schedulerName: default-scheduler securityContext: fsGroup: 1000 runAsUser: 1000 terminationGracePeriodSeconds: 30 volumes: - name: data persistentVolumeClaim: claimName: openclaw-pvc