Add Open Web UI deployment, service, and persistent volume claim configurations
All checks were successful
Validate Kubernetes Manifests / kubeconform (pull_request) Successful in 26s

This commit is contained in:
2025-12-09 20:58:01 +05:30
parent 32086a30bc
commit 5126dcecd6
3 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: open-webui
namespace: tools
spec:
strategy:
type: Recreate
selector:
matchLabels:
app: open-webui
template:
metadata:
labels:
app: open-webui
spec:
containers:
- name: open-webui
image: ghcr.io/open-webui/open-webui:0.6.33
ports:
- containerPort: 8080
env:
- name: OLLAMA_BASE_URL
value: "http://ollama.tools.svc.cluster.local:2123"
volumeMounts:
- name: config
mountPath: /app/backend/data
volumes:
- name: config
persistentVolumeClaim:
claimName: open-webui-longhorn