fix(k8s/reitti): raise memory limit and relax probe timeouts for large imports

This commit is contained in:
2026-10-03 23:55:43 +03:00
parent 1577313de5
commit e662c59cd5
+7 -2
View File
@@ -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: