From 4f7913254e6baaa523f744000fd01b44155563b9 Mon Sep 17 00:00:00 2001 From: pierre Date: Wed, 24 Jul 2024 14:52:18 +0100 Subject: [PATCH] :bricks: add CPU and MEMORY limit --- Bookstack-db.kube.yaml | 4 ++++ Bookstack-webserver.kube.yaml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/Bookstack-db.kube.yaml b/Bookstack-db.kube.yaml index 59161f6..f699a11 100644 --- a/Bookstack-db.kube.yaml +++ b/Bookstack-db.kube.yaml @@ -56,6 +56,10 @@ spec: volumeMounts: - name: bookstack-database mountPath: /config + resources: + limits: + cpu: 250m + memory: 250Mi volumes: diff --git a/Bookstack-webserver.kube.yaml b/Bookstack-webserver.kube.yaml index c6d5fa5..d3eef46 100644 --- a/Bookstack-webserver.kube.yaml +++ b/Bookstack-webserver.kube.yaml @@ -35,6 +35,9 @@ spec: requests: cpu: 300m memory: 300M + limits: + cpu: 500m + memory: 400Mi volumeMounts: - name: bookstack-webserver