This repository was archived by the owner on Dec 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +22
-24
lines changed
Expand file tree Collapse file tree 1 file changed +22
-24
lines changed Original file line number Diff line number Diff line change 11apiVersion : apps/v1
22kind : Deployment
33metadata :
4- name : chat-api
4+ name : litellm
5+ namespace : chat-api
56 labels :
6- app : chat-api
7+ app : litellm
78spec :
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
You can’t perform that action at this time.
0 commit comments