From e550587259c03f11718ccf2a2e4cb297402b54c0 Mon Sep 17 00:00:00 2001 From: Jordi Gil Date: Mon, 22 Jan 2024 13:42:47 -0500 Subject: [PATCH] Increase DI container resource limits to 200m/1Gi to avoid crashing when running the ephemeral postgres Signed-off-by: Jordi Gil --- controllers/platform/services/services.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/controllers/platform/services/services.go b/controllers/platform/services/services.go index c9b182af9..3637c2754 100644 --- a/controllers/platform/services/services.go +++ b/controllers/platform/services/services.go @@ -118,11 +118,11 @@ func (d DataIndexHandler) GetPodResourceRequirements() corev1.ResourceRequiremen return corev1.ResourceRequirements{ Requests: corev1.ResourceList{ corev1.ResourceCPU: resource.MustParse("100m"), - corev1.ResourceMemory: resource.MustParse("512Mi"), + corev1.ResourceMemory: resource.MustParse("1Gi"), }, Limits: corev1.ResourceList{ - corev1.ResourceCPU: resource.MustParse("100m"), - corev1.ResourceMemory: resource.MustParse("512Mi"), + corev1.ResourceCPU: resource.MustParse("200m"), + corev1.ResourceMemory: resource.MustParse("1Gi"), }, } }