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:
@@ -50,6 +50,15 @@ controllers:
|
||||
cpu: 23m
|
||||
memory: 225Mi
|
||||
probes:
|
||||
startup:
|
||||
enabled: true
|
||||
custom: true
|
||||
spec:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8000
|
||||
periodSeconds: 10
|
||||
failureThreshold: 30
|
||||
liveness:
|
||||
enabled: true
|
||||
custom: true
|
||||
@@ -57,7 +66,7 @@ controllers:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8000
|
||||
initialDelaySeconds: 30
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 10
|
||||
readiness:
|
||||
enabled: true
|
||||
@@ -66,7 +75,7 @@ controllers:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8000
|
||||
initialDelaySeconds: 10
|
||||
initialDelaySeconds: 0
|
||||
periodSeconds: 5
|
||||
|
||||
service:
|
||||
|
||||
Reference in New Issue
Block a user