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