Skip to content

Commit

Permalink
Increase DI container resource limits to 200m/1Gi to avoid crashing w…
Browse files Browse the repository at this point in the history
…hen running the ephemeral postgres

Signed-off-by: Jordi Gil <[email protected]>
  • Loading branch information
jordigilh committed Jan 23, 2024
1 parent 7358bf1 commit e550587
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions controllers/platform/services/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
},
}
}
Expand Down

0 comments on commit e550587

Please sign in to comment.