From 7a7467c8819b89cfc7ad868ff59a4b3728a7e85e Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Mon, 21 Aug 2023 12:56:17 +0200
Subject: [PATCH] Use more ressources for pg in prod

---
 chart/values.ippidb-dev.yaml | 8 +++++++-
 chart/values.yaml            | 4 ++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/chart/values.ippidb-dev.yaml b/chart/values.ippidb-dev.yaml
index ffadca2c..477eb566 100644
--- a/chart/values.ippidb-dev.yaml
+++ b/chart/values.ippidb-dev.yaml
@@ -9,4 +9,10 @@ celery:
   logLevel: debug
   resources:
     limits:
-      memory: 3Gi
\ No newline at end of file
+      memory: 3Gi
+
+postgresql:
+  resources:
+    limits:
+      memory: 2Gi
+      cpu: 2
\ No newline at end of file
diff --git a/chart/values.yaml b/chart/values.yaml
index b097313b..7a20896b 100644
--- a/chart/values.yaml
+++ b/chart/values.yaml
@@ -128,8 +128,8 @@ postgresql:
       memory: 2Gi
       cpu: 2
     limits:
-      memory: 2Gi
-      cpu: 2
+      memory: 4Gi
+      cpu: 4
 
 postgresqlbitnami:
   primary:
-- 
GitLab