File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -584,20 +584,20 @@ func doPodResizeTests(f *framework.Framework) {
584
584
},
585
585
},
586
586
{
587
- name : "Burstable QoS pod, one container with cpu requests - resize with equivalent request " ,
587
+ name : "Burstable QoS pod, one container with cpu requests and limits - resize with equivalents " ,
588
588
containers : []e2epod.ResizableContainerInfo {
589
589
{
590
590
Name : "c1" ,
591
- Resources : & e2epod.ContainerResources {CPUReq : "2m" },
591
+ Resources : & e2epod.ContainerResources {CPUReq : "2m" , CPULim : "10m" },
592
592
},
593
593
},
594
594
patchString : `{"spec":{"containers":[
595
- {"name":"c1", "resources":{"requests":{"cpu":"1m"}}}
595
+ {"name":"c1", "resources":{"requests":{"cpu":"1m"},"limits":{"cpu":"5m"} }}
596
596
]}}` ,
597
597
expected : []e2epod.ResizableContainerInfo {
598
598
{
599
599
Name : "c1" ,
600
- Resources : & e2epod.ContainerResources {CPUReq : "1m" },
600
+ Resources : & e2epod.ContainerResources {CPUReq : "1m" , CPULim : "5m" },
601
601
},
602
602
},
603
603
},
You can’t perform that action at this time.
0 commit comments