🧱 add CPU and MEMORY limit
This commit is contained in:
@@ -56,6 +56,10 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: bookstack-database
|
- name: bookstack-database
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 250m
|
||||||
|
memory: 250Mi
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -35,6 +35,9 @@ spec:
|
|||||||
requests:
|
requests:
|
||||||
cpu: 300m
|
cpu: 300m
|
||||||
memory: 300M
|
memory: 300M
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 400Mi
|
||||||
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: bookstack-webserver
|
- name: bookstack-webserver
|
||||||
|
|||||||
Reference in New Issue
Block a user