Skip to content
This repository was archived by the owner on Dec 7, 2025. It is now read-only.

Commit ad6581d

Browse files
Fix v27
1 parent c76fc81 commit ad6581d

File tree

1 file changed

+22
-24
lines changed

1 file changed

+22
-24
lines changed

manifests/chat-api-deployment.yaml

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,34 @@
11
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
4-
name: chat-api
4+
name: litellm
5+
namespace: chat-api
56
labels:
6-
app: chat-api
7+
app: litellm
78
spec:
8-
replicas: 2
9+
replicas: 1
910
selector:
1011
matchLabels:
11-
app: chat-api
12+
app: litellm
1213
template:
1314
metadata:
1415
labels:
15-
app: chat-api
16+
app: litellm
1617
spec:
1718
containers:
18-
- name: chat-api
19-
image: ghcr.io/justgithubaccount/chat-api:latest
20-
ports:
21-
- containerPort: 8000
22-
envFrom:
23-
- secretRef:
24-
name: chat-api-secrets
25-
readinessProbe:
26-
httpGet:
27-
path: /health
28-
port: 8000
29-
initialDelaySeconds: 2
30-
periodSeconds: 10
31-
livenessProbe:
32-
httpGet:
33-
path: /health
34-
port: 8000
35-
initialDelaySeconds: 2
36-
periodSeconds: 10
19+
- name: litellm
20+
image: ghcr.io/berriai/litellm:main-latest
21+
ports:
22+
- containerPort: 4000
23+
envFrom:
24+
- secretRef:
25+
name: litellm-secrets
26+
volumeMounts:
27+
- name: config
28+
mountPath: /app/config.yaml
29+
subPath: config.yaml
30+
args: ["--config", "/app/config.yaml"]
31+
volumes:
32+
- name: config
33+
configMap:
34+
name: litellm-config

0 commit comments

Comments
 (0)