This commit is contained in:
@@ -5,7 +5,6 @@ replicaCount: 1
|
||||
|
||||
image:
|
||||
pullPolicy: Always
|
||||
tag: "latest"
|
||||
|
||||
# Auto-create registry secret
|
||||
registrySecret:
|
||||
@@ -18,11 +17,6 @@ registrySecret:
|
||||
imagePullSecrets:
|
||||
- name: hub-registry-secret
|
||||
|
||||
|
||||
# DEBUG MODE: sleep infinity for debugging
|
||||
# NOTE: Use exec probes that always succeed when debugging
|
||||
command: ["/bin/bash", "-c", "sleep infinity"]
|
||||
|
||||
appSecrets:
|
||||
enabled: false # Set to true if you need database/redis
|
||||
name: peikarband-prod-secrets
|
||||
@@ -117,41 +111,24 @@ redis:
|
||||
key: "redis-password"
|
||||
|
||||
# Override readiness probe for production
|
||||
# DEBUG MODE: Using exec probe that always succeeds (for sleep infinity)
|
||||
# IMPORTANT: httpGet must be explicitly null to prevent merge with values.yaml
|
||||
# To switch back to normal operation, replace exec with httpGet and remove null:
|
||||
# httpGet:
|
||||
# path: /ping
|
||||
# port: 8000
|
||||
# initialDelaySeconds: 60
|
||||
# periodSeconds: 10
|
||||
# timeoutSeconds: 5
|
||||
# failureThreshold: 6
|
||||
# Reflex startup time: 30-60 seconds (per deployment checklist)
|
||||
# Using /ping endpoint (simpler, faster response)
|
||||
readinessProbe:
|
||||
httpGet: null # Explicitly null to prevent merge
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "true"]
|
||||
initialDelaySeconds: 5
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 8000
|
||||
initialDelaySeconds: 60 # Allow Reflex to fully start (30-60s expected)
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 3
|
||||
failureThreshold: 6 # Allow 6 failures = 60s grace period
|
||||
|
||||
# Override liveness probe
|
||||
# DEBUG MODE: Using exec probe that always succeeds (for sleep infinity)
|
||||
# IMPORTANT: httpGet must be explicitly null to prevent merge with values.yaml
|
||||
# To switch back to normal operation, replace exec with httpGet and remove null:
|
||||
# httpGet:
|
||||
# path: /live
|
||||
# port: 8000
|
||||
# initialDelaySeconds: 90
|
||||
# periodSeconds: 15
|
||||
# timeoutSeconds: 5
|
||||
# failureThreshold: 3
|
||||
# Using /live endpoint which is specifically designed for liveness checks
|
||||
livenessProbe:
|
||||
httpGet: null # Explicitly null to prevent merge
|
||||
exec:
|
||||
command: ["/bin/sh", "-c", "true"]
|
||||
initialDelaySeconds: 5
|
||||
httpGet:
|
||||
path: /live
|
||||
port: 8000
|
||||
initialDelaySeconds: 90 # More time for liveness (after readiness)
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 3
|
||||
|
||||
Reference in New Issue
Block a user