diff --git a/test/e2e_test.go b/test/e2e_test.go index 296261e85..ed7cefdd0 100644 --- a/test/e2e_test.go +++ b/test/e2e_test.go @@ -534,6 +534,12 @@ func consumeCPU(client clientset.Interface, podName string) error { Requests: map[corev1.ResourceName]resource.Quantity{ corev1.ResourceCPU: mustQuantity("100m"), }, + // TODO: Need continue to investigate the issue of inaccurate cpu utilization caused by not adding the limits, + // and will revmoe the limits eventually + // For analysis, see https://github.com/kubernetes-sigs/metrics-server/pull/1119 + Limits: map[corev1.ResourceName]resource.Quantity{ + corev1.ResourceCPU: mustQuantity("100m"), + }, }, }, }},