Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#1119 from yangjunmyfm192085/fixe2e…
Browse files Browse the repository at this point in the history
…test

try to fix e2e test failure
  • Loading branch information
k8s-ci-robot authored Jan 31, 2023
2 parents 0e18476 + 51963ef commit 51e8aa8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
},
},
},
}},
Expand Down

0 comments on commit 51e8aa8

Please sign in to comment.