Removed resource limiting
This commit is contained in:
@@ -39,7 +39,13 @@ spec:
|
||||
- name: pgdata
|
||||
mountPath: /var/lib/postgresql/data
|
||||
subPath: postgres
|
||||
resources: {}
|
||||
resources:
|
||||
requests:
|
||||
cpu: "250m"
|
||||
memory: "512Mi"
|
||||
limits:
|
||||
cpu: "1000m"
|
||||
memory: "1Gi"
|
||||
securityContext:
|
||||
runAsUser: 1001
|
||||
runAsGroup: 1000
|
||||
|
||||
@@ -48,6 +48,13 @@ spec:
|
||||
- -c
|
||||
- until pg_isready -U "${POSTGRES_USER}" -d "dbname=${POSTGRES_DB}"
|
||||
-h immich-database -p 5432 ; do sleep 2 ; done
|
||||
resources:
|
||||
limits:
|
||||
cpu: "100m"
|
||||
memory: "128Mi"
|
||||
requests:
|
||||
cpu: "50m"
|
||||
memory: "64Mi"
|
||||
containers:
|
||||
- name: immich-server
|
||||
image: "ghcr.io/immich-app/immich-server:release"
|
||||
@@ -82,6 +89,13 @@ spec:
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 120
|
||||
timeoutSeconds: 1
|
||||
# resources:
|
||||
# limits:
|
||||
# cpu: "500m"
|
||||
# memory: "512Mi"
|
||||
# requests:
|
||||
# cpu: "250m"
|
||||
# memory: "256Mi"
|
||||
volumeMounts:
|
||||
- name: library
|
||||
mountPath: /usr/src/app/upload
|
||||
|
||||
@@ -74,13 +74,15 @@ spec:
|
||||
value: "1000"
|
||||
- name: PHOTOPRISM_DISABLE_CHOWN
|
||||
value: "true"
|
||||
resources:
|
||||
requests:
|
||||
cpu: "100m"
|
||||
memory: "128Mi"
|
||||
limits:
|
||||
cpu: "500m"
|
||||
memory: "512Mi"
|
||||
- name: PHOTOPRISM_SIDECAR_JSON
|
||||
value: "true"
|
||||
# resources:
|
||||
# requests:
|
||||
# cpu: "100m"
|
||||
# memory: "128Mi"
|
||||
# limits:
|
||||
# cpu: "500m"
|
||||
# memory: "512Mi"
|
||||
volumeMounts:
|
||||
- mountPath: /photoprism/
|
||||
name: photoprism-storage
|
||||
|
||||
Reference in New Issue
Block a user