Skip to content

Commit 819dbd7

Browse files
committed
Increase ResourceMemory limit
We are hitting an issue when pods are being killed in jobs because of OOM error. It seems like the ResourceMemory limit set with this PR [1] is not enough for the test operator pods. This patch increases the ResourceMemory limit to 8Gi. We should revisit this problem later and investigate whether the limit can not be lower and what exactly caused the OOM errors. [1] #205
1 parent f2ce22b commit 819dbd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/util/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ func GetSecurityContext(
4242
func GetResourceLimits() corev1.ResourceList {
4343
return corev1.ResourceList{
4444
corev1.ResourceCPU: resource.MustParse("2000m"),
45-
corev1.ResourceMemory: resource.MustParse("4Gi"),
45+
corev1.ResourceMemory: resource.MustParse("8Gi"),
4646
}
4747
}

0 commit comments

Comments
 (0)