-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopen-webui.yml
More file actions
49 lines (49 loc) · 1.05 KB
/
Copy pathopen-webui.yml
File metadata and controls
49 lines (49 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
apiVersion: apps/v1
kind: Deployment
metadata:
name: open-webui
spec:
replicas: 1
selector:
matchLabels:
app: open-webui
template:
metadata:
labels:
app: open-webui
spec:
enableServiceLinks: false
containers:
- name: open-webui
image: ghcr.io/open-webui/open-webui:main
env:
- name: OPENAI_API_BASE_URL
value: "http://vllm.vllm.svc.cluster.local:8000/v1"
- name: OPENAI_API_KEY
value: "not-needed"
ports:
- containerPort: 8080
readinessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 15
periodSeconds: 10
failureThreshold: 12
volumeMounts:
- name: data
mountPath: /app/backend/data
volumes:
- name: data
emptyDir: {}
---
apiVersion: v1
kind: Service
metadata:
name: open-webui
spec:
selector:
app: open-webui
ports:
- port: 8080
targetPort: 8080