From 1fa8d53fbb896282398daaa0ad8697e476f10a35 Mon Sep 17 00:00:00 2001 From: "Ehsan.Asadi" Date: Wed, 31 Dec 2025 11:06:11 +0330 Subject: [PATCH] added cmd --- helm/peikarband/values-production.yaml | 41 +++++++++++--------------- 1 file changed, 18 insertions(+), 23 deletions(-) diff --git a/helm/peikarband/values-production.yaml b/helm/peikarband/values-production.yaml index c10e8dd..06dce7a 100644 --- a/helm/peikarband/values-production.yaml +++ b/helm/peikarband/values-production.yaml @@ -117,45 +117,40 @@ redis: key: "redis-password" # Override readiness probe for production -# Reflex startup time: 30-60 seconds (per deployment checklist) -# Using /ping endpoint (simpler, faster response) # DEBUG MODE: Using exec probe that always succeeds (for sleep infinity) -# For normal operation, use the httpGet probe below +# To switch back to normal operation, replace exec with httpGet: +# httpGet: +# path: /ping +# port: 8000 +# initialDelaySeconds: 60 +# periodSeconds: 10 +# timeoutSeconds: 5 +# failureThreshold: 6 readinessProbe: exec: - command: ["/bin/sh", "-c", "true"] # Always succeeds - for debug mode + command: ["/bin/sh", "-c", "true"] initialDelaySeconds: 5 periodSeconds: 10 timeoutSeconds: 5 failureThreshold: 3 - # Normal operation (uncomment when not debugging): - # httpGet: - # path: /ping - # port: 8000 - # initialDelaySeconds: 60 # Allow Reflex to fully start (30-60s expected) - # periodSeconds: 10 - # timeoutSeconds: 5 - # failureThreshold: 6 # Allow 6 failures = 60s grace period # Override liveness probe -# Using /live endpoint which is specifically designed for liveness checks # DEBUG MODE: Using exec probe that always succeeds (for sleep infinity) -# For normal operation, use the httpGet probe below +# To switch back to normal operation, replace exec with httpGet: +# httpGet: +# path: /live +# port: 8000 +# initialDelaySeconds: 90 +# periodSeconds: 15 +# timeoutSeconds: 5 +# failureThreshold: 3 livenessProbe: exec: - command: ["/bin/sh", "-c", "true"] # Always succeeds - for debug mode + command: ["/bin/sh", "-c", "true"] initialDelaySeconds: 5 periodSeconds: 15 timeoutSeconds: 5 failureThreshold: 3 - # Normal operation (uncomment when not debugging): - # httpGet: - # path: /live - # port: 8000 - # initialDelaySeconds: 90 # More time for liveness (after readiness) - # periodSeconds: 15 - # timeoutSeconds: 5 - # failureThreshold: 3 configMap: data: