From c93dc06c67397f83637eb3d8514988b34e6086e3 Mon Sep 17 00:00:00 2001 From: "Ehsan.Asadi" Date: Tue, 30 Dec 2025 20:00:57 +0330 Subject: [PATCH] =?UTF-8?q?fix:=20=DA=A9=D8=A7=D9=87=D8=B4=20probe=20timin?= =?UTF-8?q?g=20=D8=A8=D9=87=20=D9=85=D9=82=D8=AF=D8=A7=D8=B1=20=D9=85?= =?UTF-8?q?=D9=86=D8=B7=D9=82=DB=8C=20(60s=20readiness,=2090s=20liveness)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helm/peikarband/values-production.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/helm/peikarband/values-production.yaml b/helm/peikarband/values-production.yaml index 76ce776..d148409 100644 --- a/helm/peikarband/values-production.yaml +++ b/helm/peikarband/values-production.yaml @@ -95,16 +95,17 @@ redis: name: "peikarband-prod-secrets" key: "redis-password" -# Override readiness probe for production (Reflex needs more time to start) +# Override readiness probe for production +# Reflex startup time: 30-60 seconds (per deployment checklist) # Using /ping endpoint (simpler, faster response) readinessProbe: httpGet: path: /ping port: 8000 - initialDelaySeconds: 120 # Increased to allow Reflex to fully compile and start + initialDelaySeconds: 60 # Allow Reflex to fully start (30-60s expected) periodSeconds: 10 timeoutSeconds: 5 - failureThreshold: 6 # Allow more failures during startup (2 minutes total) + failureThreshold: 6 # Allow 6 failures = 60s grace period # Override liveness probe # Using /live endpoint which is specifically designed for liveness checks @@ -112,7 +113,7 @@ livenessProbe: httpGet: path: /live port: 8000 - initialDelaySeconds: 120 # Increased to allow Reflex to fully start + initialDelaySeconds: 90 # More time for liveness (after readiness) periodSeconds: 15 timeoutSeconds: 5 failureThreshold: 3