✨ add CPU and MEMORY limit
This commit is contained in:
@@ -35,6 +35,10 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- name: postgres
|
- name: postgres
|
||||||
containerPort: 5432
|
containerPort: 5432
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 250m
|
||||||
|
memory: 250Mi
|
||||||
volumes:
|
volumes:
|
||||||
- name: pgdata
|
- name: pgdata
|
||||||
hostPath:
|
hostPath:
|
||||||
|
|||||||
@@ -54,6 +54,11 @@ spec:
|
|||||||
- name: scripts
|
- name: scripts
|
||||||
mountPath: /usr/src/paperless/scripts/
|
mountPath: /usr/src/paperless/scripts/
|
||||||
|
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 250m
|
||||||
|
memory: 250Mi
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: data
|
||||||
hostPath:
|
hostPath:
|
||||||
|
|||||||
Reference in New Issue
Block a user