restrict immich cpu usage

This commit is contained in:
Morten Olsen
2025-12-28 22:53:00 +01:00
parent 5a77a91dcc
commit 42d0fe6050
2 changed files with 11 additions and 1 deletions

View File

@@ -74,6 +74,9 @@ spec:
- name: http
containerPort: 3003
protocol: TCP
resources:
limits:
cpu: "1500m"
volumeMounts:
- mountPath: /usr/src/app/upload
name: upload
@@ -146,6 +149,9 @@ spec:
- name: http
containerPort: 3003
protocol: TCP
resources:
limits:
cpu: "4000m"
volumeMounts:
- mountPath: /cache
name: model-cache
@@ -186,6 +192,9 @@ spec:
- name: tcp
containerPort: 6379
protocol: TCP
resources:
limits:
cpu: "500m"
livenessProbe:
tcpSocket:
port: tcp