forked from roger/k3s-cluster
fix(litellm): add memory and CPU resource limits to prevent OOMKilled
Litellm pod was being killed by the kernel OOM killer (7 restarts, last termination reason: OOMKilled). Added explicit resource requests (512Mi/250m) and limits (2Gi/1000m) to ensure the container gets bounded memory.
This commit is contained in:
@@ -112,6 +112,13 @@ spec:
|
||||
env:
|
||||
- name: STORE_MODEL_IN_DB
|
||||
value: "True"
|
||||
resources:
|
||||
requests:
|
||||
memory: "512Mi"
|
||||
cpu: "250m"
|
||||
limits:
|
||||
memory: "2Gi"
|
||||
cpu: "1000m"
|
||||
volumes:
|
||||
- name: config-volume
|
||||
configMap:
|
||||
|
||||
Reference in New Issue
Block a user