From 9c134d5dd0edfcec00a000d39faff514794c9081 Mon Sep 17 00:00:00 2001 From: platform-engineer Date: Tue, 21 Jul 2026 21:59:15 +0000 Subject: [PATCH] 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. --- litellm/litellm.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/litellm/litellm.yaml b/litellm/litellm.yaml index 6bb68fb..d3bd78c 100644 --- a/litellm/litellm.yaml +++ b/litellm/litellm.yaml @@ -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: