FEAT(repo): add startupProbe for CPU-limited apps
- Add startupProbe to code-server, crafty, mas, umami, immich - Configure 300s startup timeout (10s × 30 attempts) - Set initialDelaySeconds to 0 for liveness/readiness - Reduce immich-ml memory from 2Gi to 1Gi (node memory limit)
This commit is contained in:
@@ -55,12 +55,20 @@ autoscaling:
|
||||
targetCPUUtilizationPercentage: 80
|
||||
|
||||
# Health checks
|
||||
startupProbe:
|
||||
enabled: true
|
||||
httpGet:
|
||||
path: /api/heartbeat
|
||||
port: 3000
|
||||
periodSeconds: 10
|
||||
failureThreshold: 30
|
||||
|
||||
livenessProbe:
|
||||
enabled: true
|
||||
httpGet:
|
||||
path: /api/heartbeat
|
||||
port: 3000
|
||||
initialDelaySeconds: 30
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 10
|
||||
|
||||
readinessProbe:
|
||||
@@ -68,5 +76,5 @@ readinessProbe:
|
||||
httpGet:
|
||||
path: /api/heartbeat
|
||||
port: 3000
|
||||
initialDelaySeconds: 10
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 5
|
||||
|
||||
Reference in New Issue
Block a user