forked from open-webui/open-webui
28 lines
No EOL
627 B
YAML
28 lines
No EOL
627 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: ollama-webui-deployment
|
|
namespace: open-webui
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: ollama-webui
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: ollama-webui
|
|
spec:
|
|
containers:
|
|
- name: ollama-webui
|
|
image: ghcr.io/open-webui/open-webui:main
|
|
ports:
|
|
- containerPort: 8080
|
|
resources:
|
|
limits:
|
|
cpu: "500m"
|
|
memory: "500Mi"
|
|
env:
|
|
- name: OLLAMA_API_BASE_URL
|
|
value: "http://ollama-service.open-webui.svc.cluster.local:11434/api"
|
|
tty: true |