Skip to content

Commit 504b043

Browse files
committed
vcheck job resource limits should be greater than resource requests
1 parent 66027d3 commit 504b043

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/resource/job.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ func (b JobBuilder) MakeContainers() []corev1.Container {
140140
ImagePullPolicy: b.GetImagePullPolicy(),
141141
Resources: corev1.ResourceRequirements{
142142
Limits: corev1.ResourceList{
143-
corev1.ResourceCPU: apiresource.MustParse("300m"),
144-
corev1.ResourceMemory: apiresource.MustParse("256Mi"),
143+
corev1.ResourceCPU: apiresource.MustParse("500m"),
144+
corev1.ResourceMemory: apiresource.MustParse("512Mi"),
145145
},
146146
Requests: corev1.ResourceList{
147147
corev1.ResourceCPU: apiresource.MustParse("300m"),

0 commit comments

Comments
 (0)