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

Commit 818bce5

Browse files
Fix v28
1 parent ad6581d commit 818bce5

File tree

2 files changed

+25
-26
lines changed

2 files changed

+25
-26
lines changed

manifests/chat-api-deployment.yaml

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,36 @@
11
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
4-
name: litellm
5-
namespace: chat-api
4+
name: chat-api
65
labels:
7-
app: litellm
6+
app: chat-api
87
spec:
9-
replicas: 1
8+
replicas: 2
109
selector:
1110
matchLabels:
12-
app: litellm
11+
app: chat-api
1312
template:
1413
metadata:
1514
labels:
16-
app: litellm
15+
app: chat-api
1716
spec:
1817
containers:
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
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

manifests/litellm-deployment.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,11 @@ spec:
2323
envFrom:
2424
- secretRef:
2525
name: litellm-secrets
26-
env:
27-
- name: LITELLM_CONFIG_PATH
28-
value: /app/config.yaml
2926
volumeMounts:
3027
- name: config
3128
mountPath: /app/config.yaml
3229
subPath: config.yaml
33-
command: ["uvicorn", "litellm.main:app", "--host", "0.0.0.0", "--port", "4000"]
30+
args: ["--config", "/app/config.yaml"]
3431
volumes:
3532
- name: config
3633
configMap:

0 commit comments

Comments
 (0)