forked from open-webui/open-webui
099b1d066b
This reverts commit 9763d885be
.
38 lines
No EOL
893 B
YAML
38 lines
No EOL
893 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: open-webui-deployment
|
|
namespace: open-webui
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: open-webui
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: open-webui
|
|
spec:
|
|
containers:
|
|
- name: open-webui
|
|
image: ghcr.io/open-webui/open-webui:main
|
|
ports:
|
|
- containerPort: 8080
|
|
resources:
|
|
requests:
|
|
cpu: "500m"
|
|
memory: "500Mi"
|
|
limits:
|
|
cpu: "1000m"
|
|
memory: "1Gi"
|
|
env:
|
|
- name: OLLAMA_BASE_URL
|
|
value: "http://ollama-service.open-webui.svc.cluster.local:11434"
|
|
tty: true
|
|
volumeMounts:
|
|
- name: webui-volume
|
|
mountPath: /app/backend/data
|
|
volumes:
|
|
- name: webui-volume
|
|
persistentVolumeClaim:
|
|
claimName: ollama-webui-pvc |