Skip to content

Commit

Permalink
sync-sidecar: raise memory limits
Browse files Browse the repository at this point in the history
  • Loading branch information
absorbb committed Sep 20, 2024
1 parent 66aaf69 commit 8a48c54
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sync-controller/job_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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),
Expand Down

0 comments on commit 8a48c54

Please sign in to comment.