feat: added kubernetes persistent volume claim for webui

This commit is contained in:
braveokafor 2024-02-16 19:36:38 +01:00
parent 4c3edd0375
commit 0340967930
2 changed files with 20 additions and 1 deletions

View file

@ -25,4 +25,11 @@ spec:
env:
- name: OLLAMA_API_BASE_URL
value: "http://ollama-service.ollama-namespace.svc.cluster.local:11434/api"
tty: true
tty: true
volumeMounts:
- name: webui-volume
mountPath: /app/backend/data
volumes:
- name: webui-volume
persistentVolumeClaim:
claimName: ollama-webui-pvc