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