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:
2026-01-07 23:25:06 +09:00
parent 3bc0b76135
commit 8353cf22bc
5 changed files with 67 additions and 13 deletions

View File

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