added cmd
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Ehsan.Asadi
2025-12-31 11:23:59 +03:30
parent b7a162e2d8
commit 1852b9d321
4 changed files with 166 additions and 38 deletions

View File

@@ -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