mirror of https://github.com/k3s-io/k3s
Merge pull request #36771 from euank/bump-some-memory
Automatic merge from submit-queue tests: update memory resource limits ```release-note NONE ``` On ubuntu, the `RestartNever` test OOMs its cgroup limit fairly frequently. This bumps the number up to something suitably large since the test isn't testing anything related to this anyways. Fixes #36159 Fix based on https://github.com/kubernetes/kubernetes/issues/36159#issuecomment-258992255 cc @yujuhong @saad-alipull/6/head
commit
122a228b63
|
@ -132,7 +132,7 @@ var _ = framework.KubeDescribe("InitContainer", func() {
|
|||
Resources: api.ResourceRequirements{
|
||||
Limits: api.ResourceList{
|
||||
api.ResourceCPU: *resource.NewMilliQuantity(100, resource.DecimalSI),
|
||||
api.ResourceMemory: *resource.NewQuantity(10*1024*1024, resource.DecimalSI),
|
||||
api.ResourceMemory: *resource.NewQuantity(30*1024*1024, resource.DecimalSI),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -195,7 +195,7 @@ var _ = framework.KubeDescribe("InitContainer", func() {
|
|||
Resources: api.ResourceRequirements{
|
||||
Limits: api.ResourceList{
|
||||
api.ResourceCPU: *resource.NewMilliQuantity(100, resource.DecimalSI),
|
||||
api.ResourceMemory: *resource.NewQuantity(10*1024*1024, resource.DecimalSI),
|
||||
api.ResourceMemory: *resource.NewQuantity(30*1024*1024, resource.DecimalSI),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -306,7 +306,7 @@ var _ = framework.KubeDescribe("InitContainer", func() {
|
|||
Resources: api.ResourceRequirements{
|
||||
Limits: api.ResourceList{
|
||||
api.ResourceCPU: *resource.NewMilliQuantity(100, resource.DecimalSI),
|
||||
api.ResourceMemory: *resource.NewQuantity(10*1024*1024, resource.DecimalSI),
|
||||
api.ResourceMemory: *resource.NewQuantity(30*1024*1024, resource.DecimalSI),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue