From add449610b3f1d45dec4b23e5c2ef30d37655424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Win=C3=ADcius?= Date: Sat, 21 Nov 2026 23:02:08 -0300 Subject: [PATCH] fix(k8s): expandir limites de recursos do relay para 2Gi de RAM e 2 vCPUs --- k8s/deployment.yaml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index c94adf6..b1ed75e 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -32,6 +32,9 @@ spec: - containerPort: 3000 name: http protocol: TCP + env: + - name: NODE_OPTIONS + value: "--max-old-space-size=1536" envFrom: - secretRef: name: litellm-config @@ -48,9 +51,9 @@ spec: scheme: HTTP initialDelaySeconds: 2 periodSeconds: 2 - timeoutSeconds: 2 + timeoutSeconds: 5 successThreshold: 1 - failureThreshold: 2 + failureThreshold: 3 livenessProbe: httpGet: path: /api/health @@ -58,13 +61,13 @@ spec: scheme: HTTP initialDelaySeconds: 10 periodSeconds: 10 - timeoutSeconds: 2 + timeoutSeconds: 5 successThreshold: 1 - failureThreshold: 3 + failureThreshold: 4 resources: limits: - cpu: 500m - memory: 512Mi + cpu: 2000m + memory: 2Gi requests: - cpu: 50m - memory: 64Mi + cpu: 100m + memory: 128Mi