This commit is contained in:
@@ -19,7 +19,9 @@ imagePullSecrets:
|
|||||||
- name: hub-registry-secret
|
- name: hub-registry-secret
|
||||||
|
|
||||||
|
|
||||||
command: ["/bin/bash", "-c" ,"sleep infinity"]
|
# DEBUG MODE: sleep infinity for debugging
|
||||||
|
# NOTE: Use exec probes that always succeed when debugging
|
||||||
|
command: ["/bin/bash", "-c", "sleep infinity"]
|
||||||
|
|
||||||
appSecrets:
|
appSecrets:
|
||||||
enabled: false # Set to true if you need database/redis
|
enabled: false # Set to true if you need database/redis
|
||||||
@@ -117,25 +119,43 @@ redis:
|
|||||||
# Override readiness probe for production
|
# Override readiness probe for production
|
||||||
# Reflex startup time: 30-60 seconds (per deployment checklist)
|
# Reflex startup time: 30-60 seconds (per deployment checklist)
|
||||||
# Using /ping endpoint (simpler, faster response)
|
# 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
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
exec:
|
||||||
path: /ping
|
command: ["/bin/sh", "-c", "true"] # Always succeeds - for debug mode
|
||||||
port: 8000
|
initialDelaySeconds: 5
|
||||||
initialDelaySeconds: 60 # Allow Reflex to fully start (30-60s expected)
|
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
failureThreshold: 6 # Allow 6 failures = 60s grace period
|
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
|
# Override liveness probe
|
||||||
# Using /live endpoint which is specifically designed for liveness checks
|
# 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
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
exec:
|
||||||
path: /live
|
command: ["/bin/sh", "-c", "true"] # Always succeeds - for debug mode
|
||||||
port: 8000
|
initialDelaySeconds: 5
|
||||||
initialDelaySeconds: 90 # More time for liveness (after readiness)
|
|
||||||
periodSeconds: 15
|
periodSeconds: 15
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
failureThreshold: 3
|
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:
|
configMap:
|
||||||
data:
|
data:
|
||||||
|
|||||||
Reference in New Issue
Block a user