diff --git a/cluster/applications/open-webui/deployment.yaml b/cluster/applications/open-webui/deployment.yaml index 2978a5a..0b4542d 100644 --- a/cluster/applications/open-webui/deployment.yaml +++ b/cluster/applications/open-webui/deployment.yaml @@ -59,6 +59,9 @@ spec: value: "true" - name: ENABLE_MODEL_FILTER value: "false" + # Disable Ollama model detection (we use vLLM/OpenAI-compatible only) + - name: ENABLE_OLLAMA_API + value: "false" # Storage - name: DATA_DIR value: "/app/backend/data" @@ -82,5 +85,5 @@ spec: mountPath: /app/backend/data volumes: - name: data - emptyDir: - sizeLimit: 1Gi + persistentVolumeClaim: + claimName: open-webui-data diff --git a/cluster/applications/open-webui/pvc.yaml b/cluster/applications/open-webui/pvc.yaml new file mode 100644 index 0000000..f8af8f5 --- /dev/null +++ b/cluster/applications/open-webui/pvc.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: open-webui-data + namespace: open-webui + labels: + app.kubernetes.io/name: open-webui + app.kubernetes.io/component: data +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 10Gi