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 initialDelaySeconds: 20
periodSeconds: 10 periodSeconds: 10
failureThreshold: 30 # DB migrations on first start / upgrades 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: livenessProbe:
httpGet: httpGet:
port: 8080 port: 8080
path: /actuator/health path: /actuator/health
periodSeconds: 30 periodSeconds: 30
timeoutSeconds: 10
failureThreshold: 6
readinessProbe: readinessProbe:
httpGet: httpGet:
port: 8080 port: 8080
path: /actuator/health path: /actuator/health
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 5
resources: resources:
requests: requests:
cpu: 100m cpu: 100m
memory: 512Mi memory: 1Gi
limits: limits:
memory: 1536Mi memory: 3Gi # heap = 75%; 1.5Gi ran out of heap processing a large import
volumes: volumes:
- name: data - name: data
persistentVolumeClaim: persistentVolumeClaim: