Fix Immich resource limits and probe timeouts
Resources were under wrong Helm value keys (server.resources, machine-learning.resources) and never applied to pods. Move to correct bjw-s chart paths (*.controllers.main.containers.main.resources). Increase liveness/readiness probe timeouts from 1s to 5s to prevent kubelet from killing healthy-but-busy pods during ML inference load. Remove CPU limits (keep requests only) to avoid throttling. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c78b86c72c
commit
b632cd9ffb
1 changed files with 35 additions and 15 deletions
|
|
@ -37,19 +37,29 @@ immich:
|
|||
# Machine Learning service
|
||||
machine-learning:
|
||||
enabled: true
|
||||
persistence:
|
||||
cache:
|
||||
enabled: true
|
||||
type: persistentVolumeClaim
|
||||
accessMode: ReadWriteOnce
|
||||
size: 10Gi
|
||||
controllers:
|
||||
main:
|
||||
containers:
|
||||
main:
|
||||
resources:
|
||||
requests:
|
||||
memory: "512Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "4Gi"
|
||||
cpu: "2000m"
|
||||
probes:
|
||||
liveness:
|
||||
spec:
|
||||
timeoutSeconds: 5
|
||||
readiness:
|
||||
spec:
|
||||
timeoutSeconds: 5
|
||||
persistence:
|
||||
cache:
|
||||
enabled: true
|
||||
type: persistentVolumeClaim
|
||||
accessMode: ReadWriteOnce
|
||||
size: 10Gi
|
||||
|
||||
# Valkey (Redis fork) - included in chart
|
||||
valkey:
|
||||
|
|
@ -60,12 +70,22 @@ valkey:
|
|||
type: emptyDir
|
||||
size: 1Gi
|
||||
|
||||
# Server resources for minikube
|
||||
# Server configuration
|
||||
server:
|
||||
controllers:
|
||||
main:
|
||||
containers:
|
||||
main:
|
||||
resources:
|
||||
requests:
|
||||
memory: "256Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "2Gi"
|
||||
cpu: "2000m"
|
||||
probes:
|
||||
liveness:
|
||||
spec:
|
||||
timeoutSeconds: 5
|
||||
readiness:
|
||||
spec:
|
||||
timeoutSeconds: 5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue