From e662c59cd544367b400ab619940cef0f710b5446 Mon Sep 17 00:00:00 2001 From: Oleksandr Berezovskyi Date: Sat, 3 Oct 2026 23:55:43 +0300 Subject: [PATCH] fix(k8s/reitti): raise memory limit and relax probe timeouts for large imports --- kubernetes/app/reitti/deployment.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/kubernetes/app/reitti/deployment.yaml b/kubernetes/app/reitti/deployment.yaml index 68947fe..f8b4f05 100644 --- a/kubernetes/app/reitti/deployment.yaml +++ b/kubernetes/app/reitti/deployment.yaml @@ -93,22 +93,27 @@ spec: initialDelaySeconds: 20 periodSeconds: 10 failureThreshold: 30 # DB migrations on first start / upgrades + # Generous timeouts: large imports (Google Timeline, ~500k points) keep the JVM busy + # for minutes and /actuator/health answers slowly; a 1s timeout got the pod killed. livenessProbe: httpGet: port: 8080 path: /actuator/health periodSeconds: 30 + timeoutSeconds: 10 + failureThreshold: 6 readinessProbe: httpGet: port: 8080 path: /actuator/health periodSeconds: 10 + timeoutSeconds: 5 resources: requests: cpu: 100m - memory: 512Mi + memory: 1Gi limits: - memory: 1536Mi + memory: 3Gi # heap = 75%; 1.5Gi ran out of heap processing a large import volumes: - name: data persistentVolumeClaim: