add open-webui for ollama
All checks were successful
Validate Kubernetes Manifests / kubeconform (pull_request) Successful in 14s
All checks were successful
Validate Kubernetes Manifests / kubeconform (pull_request) Successful in 14s
This commit is contained in:
32
clusters/ipv6/tools/open-webui/open-webui.yml
Normal file
32
clusters/ipv6/tools/open-webui/open-webui.yml
Normal 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.43
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
env:
|
||||
- name: OLLAMA_BASE_URL
|
||||
value: "http://ollama.tools.svc.cluster.local:11434"
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /app/backend/data
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: open-webui-longhorn
|
||||
Reference in New Issue
Block a user