Commit 08382c16 authored by Euan Kemp's avatar Euan Kemp

test/e2e: update init container memory limit

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
parent 61a5d23e
...@@ -132,7 +132,7 @@ var _ = framework.KubeDescribe("InitContainer", func() { ...@@ -132,7 +132,7 @@ var _ = framework.KubeDescribe("InitContainer", func() {
Resources: api.ResourceRequirements{ Resources: api.ResourceRequirements{
Limits: api.ResourceList{ Limits: api.ResourceList{
api.ResourceCPU: *resource.NewMilliQuantity(100, resource.DecimalSI), 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() { ...@@ -195,7 +195,7 @@ var _ = framework.KubeDescribe("InitContainer", func() {
Resources: api.ResourceRequirements{ Resources: api.ResourceRequirements{
Limits: api.ResourceList{ Limits: api.ResourceList{
api.ResourceCPU: *resource.NewMilliQuantity(100, resource.DecimalSI), 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() { ...@@ -306,7 +306,7 @@ var _ = framework.KubeDescribe("InitContainer", func() {
Resources: api.ResourceRequirements{ Resources: api.ResourceRequirements{
Limits: api.ResourceList{ Limits: api.ResourceList{
api.ResourceCPU: *resource.NewMilliQuantity(100, resource.DecimalSI), 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),
}, },
}, },
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment