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

View File

@@ -8,4 +8,5 @@ globals:
domain: olsen.cloud domain: olsen.cloud
timezone: Europe/Amsterdam timezone: Europe/Amsterdam
istio: istio:
gateway: homelab/prod gateway: istio-system/private