Fix Kubernetes Manifest for Web UI

There are currently 2 issues with the Kubernetes manifest:

- open-webui-deployment refers to ollama-webui-pvc but not included in
  kustomization.yaml, causing issue if using GPU deployment
- ollama-webui-pvc is using the wrong namespace

This commit fixes both issue.
This commit is contained in:
Gene Kuo 2024-02-24 03:14:17 +09:00
parent b1fa32c5d6
commit 035c2e0500
2 changed files with 2 additions and 1 deletions

View file

@ -4,7 +4,7 @@ metadata:
labels:
app: ollama-webui
name: ollama-webui-pvc
namespace: ollama-namespace
namespace: open-webui
spec:
accessModes: ["ReadWriteOnce"]
resources:

View file

@ -5,6 +5,7 @@ resources:
- base/webui-deployment.yaml
- base/webui-service.yaml
- base/webui-ingress.yaml
- base/webui-pvc.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization