chore: add startupProbe and fix probe timing for cold-boot safety

This commit is contained in:
Charles GTE
2026-05-17 09:39:11 +02:00
parent 0ab94b6221
commit dd3f4411cf
+10 -2
View File
@@ -27,11 +27,19 @@ spec:
volumeMounts:
- name: data
mountPath: /data
livenessProbe:
startupProbe:
httpGet:
path: /api/health
port: 80
initialDelaySeconds: 10
periodSeconds: 10
failureThreshold: 12
timeoutSeconds: 5
livenessProbe:
httpGet:
path: /api/health
port: 80
initialDelaySeconds: 0
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 3
@@ -39,7 +47,7 @@ spec:
httpGet:
path: /api/health
port: 80
initialDelaySeconds: 5
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3