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:
@@ -63,6 +63,16 @@ server:
|
||||
limits:
|
||||
cpu: 23m
|
||||
memory: 768Mi
|
||||
probes:
|
||||
startup:
|
||||
enabled: true
|
||||
custom: true
|
||||
spec:
|
||||
httpGet:
|
||||
path: /api/server-info/ping
|
||||
port: 2283
|
||||
periodSeconds: 10
|
||||
failureThreshold: 30
|
||||
ingress:
|
||||
main:
|
||||
enabled: true
|
||||
@@ -90,10 +100,20 @@ machine-learning:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 15m
|
||||
memory: 2Gi
|
||||
memory: 1Gi
|
||||
limits:
|
||||
cpu: 23m
|
||||
memory: 3Gi
|
||||
memory: 1536Mi
|
||||
probes:
|
||||
startup:
|
||||
enabled: true
|
||||
custom: true
|
||||
spec:
|
||||
httpGet:
|
||||
path: /ping
|
||||
port: 3003
|
||||
periodSeconds: 10
|
||||
failureThreshold: 30
|
||||
persistence:
|
||||
cache:
|
||||
enabled: false
|
||||
|
||||
Reference in New Issue
Block a user