From 8a48c541626b1a150c9af3594776b1f8363cba8e Mon Sep 17 00:00:00 2001 From: Ildar Nurislamov Date: Fri, 20 Sep 2024 09:03:26 +0400 Subject: [PATCH] sync-sidecar: raise memory limits --- sync-controller/job_runner.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sync-controller/job_runner.go b/sync-controller/job_runner.go index 3056fc8..36a14d7 100644 --- a/sync-controller/job_runner.go +++ b/sync-controller/job_runner.go @@ -636,8 +636,8 @@ func (j *JobRunner) createPod(podName string, task TaskDescriptor, configuration Resources: v1.ResourceRequirements{ Limits: v1.ResourceList{ v1.ResourceCPU: *resource.NewMilliQuantity(int64(2000), resource.DecimalSI), - // 2Gi - v1.ResourceMemory: *resource.NewQuantity(int64(math.Pow(2, 31)), resource.BinarySI), + // 8Gi + v1.ResourceMemory: *resource.NewQuantity(int64(math.Pow(2, 33)), resource.BinarySI), }, Requests: v1.ResourceList{ v1.ResourceCPU: *resource.NewMilliQuantity(int64(50), resource.DecimalSI), @@ -655,8 +655,8 @@ func (j *JobRunner) createPod(podName string, task TaskDescriptor, configuration Resources: v1.ResourceRequirements{ Limits: v1.ResourceList{ v1.ResourceCPU: *resource.NewMilliQuantity(int64(1000), resource.DecimalSI), - // 512Mi - v1.ResourceMemory: *resource.NewQuantity(int64(math.Pow(2, 29)), resource.BinarySI), + // 2Gi + v1.ResourceMemory: *resource.NewQuantity(int64(math.Pow(2, 31)), resource.BinarySI), }, Requests: v1.ResourceList{ v1.ResourceCPU: *resource.NewMilliQuantity(int64(0), resource.DecimalSI),