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.
This commit is contained in:
@@ -70,7 +70,7 @@ spec:
|
|||||||
- name: MEM_PORT
|
- name: MEM_PORT
|
||||||
value: "8080"
|
value: "8080"
|
||||||
- name: MEM_HOME
|
- name: MEM_HOME
|
||||||
value: "/data"
|
value: "/tmp"
|
||||||
args:
|
args:
|
||||||
- serve
|
- serve
|
||||||
- --port
|
- --port
|
||||||
@@ -97,14 +97,9 @@ spec:
|
|||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
|
||||||
mountPath: /data
|
|
||||||
- name: tmp
|
- name: tmp
|
||||||
mountPath: /tmp
|
mountPath: /tmp
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: poimen-memory-vault
|
|
||||||
- name: tmp
|
- name: tmp
|
||||||
emptyDir:
|
emptyDir:
|
||||||
sizeLimit: 64Mi
|
sizeLimit: 64Mi
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
namespace: poimen
|
namespace: poimen
|
||||||
resources:
|
resources:
|
||||||
- vault-pvc.yaml
|
# vault-pvc.yaml removed — memory service uses pgvector, not local storage
|
||||||
- deployment.yaml
|
- deployment.yaml
|
||||||
- service.yaml
|
- service.yaml
|
||||||
- obsidian.yaml
|
- obsidian.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user