From 92458e643c2715cc7b78e78dc77c2ad07b508816 Mon Sep 17 00:00:00 2001 From: rock Date: Sun, 30 Aug 2026 07:23:18 -0700 Subject: [PATCH] fix: remove unused vault PVC from memory deployment Memory service stores in pgvector, not local files. PVC was RWO causing multi-node scheduling failures with 2 replicas. MEM_HOME points to /tmp (emptyDir) for any scratch needs. --- k8s/app/deployment.yaml | 7 +------ k8s/app/kustomization.yaml | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/k8s/app/deployment.yaml b/k8s/app/deployment.yaml index 02a5202..9a5b714 100644 --- a/k8s/app/deployment.yaml +++ b/k8s/app/deployment.yaml @@ -70,7 +70,7 @@ spec: - name: MEM_PORT value: "8080" - name: MEM_HOME - value: "/data" + value: "/tmp" args: - serve - --port @@ -97,14 +97,9 @@ spec: initialDelaySeconds: 5 periodSeconds: 10 volumeMounts: - - name: data - mountPath: /data - name: tmp mountPath: /tmp volumes: - - name: data - persistentVolumeClaim: - claimName: poimen-memory-vault - name: tmp emptyDir: sizeLimit: 64Mi diff --git a/k8s/app/kustomization.yaml b/k8s/app/kustomization.yaml index 5a0009f..5bcf789 100644 --- a/k8s/app/kustomization.yaml +++ b/k8s/app/kustomization.yaml @@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: poimen resources: - - vault-pvc.yaml + # vault-pvc.yaml removed — memory service uses pgvector, not local storage - deployment.yaml - service.yaml - obsidian.yaml