mirror of
https://github.com/morten-olsen/homelab-apps.git
synced 2026-02-08 01:36:28 +01:00
restrict immich cpu usage
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user