Compare commits

...

2 Commits

Author SHA1 Message Date
unkinben e49a27fc04 feat: add litellm-env configmap with STORE_MODEL_IN_DB=True
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
- add litellm-env config map
- add reloader annotation to deployment
2026-05-01 22:16:52 +10:00
unkinben 949ddb76e4 chore: litellm ooming (#95)
- update memory and cpu resources

Reviewed-on: #95
2026-05-01 21:54:00 +10:00
2 changed files with 12 additions and 3 deletions
+7 -3
View File
@@ -10,6 +10,8 @@ spec:
app: litellm
template:
metadata:
annotations:
reloader.stakater.com/auto: "true"
labels:
app: litellm
spec:
@@ -31,6 +33,8 @@ spec:
envFrom:
- secretRef:
name: litellm-credentials
- configMapRef:
name: litellm-env
livenessProbe:
httpGet:
path: /health/liveliness
@@ -51,11 +55,11 @@ spec:
timeoutSeconds: 5
resources:
limits:
cpu: "1"
memory: 2Gi
cpu: "2"
memory: 6Gi
requests:
cpu: 250m
memory: 512Mi
memory: 2Gi
volumeMounts:
- mountPath: /app/config.yaml
name: config
+5
View File
@@ -21,3 +21,8 @@ configMapGenerator:
- config.yaml=resources/config.yaml
options:
disableNameSuffixHash: true
- name: litellm-env
literals:
- STORE_MODEL_IN_DB=True
options:
disableNameSuffixHash: true