Unverified Commit 3ed8b49e authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #67053 from oomichi/issue/67051

Automatic merge from submit-queue (batch tested with PRs 67042, 66480, 67053). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. HPA: Make dynamicRequestSizeInMillicores bigger **What this PR does / why we need it**: HPA e2e tests specify 20 as requestSizeMillicores on resource-consumer for making CPU workload to test HPA feature, and the value is hard-coded as 20. That means the tests expect 2% CPU workload on every resource-consumer process, but actual CPU usage(4 - 6%) is over than the expected usage on some environment. Then HPA scales many pods than the test expected, and the test is failed. To make these tests stable, this changes the value to 100 (10% CPU workload on each process). **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #67051 **Special notes for your reviewer**: **Release note**: None
parents 00bf292c 7d2f3a04
......@@ -43,7 +43,7 @@ import (
const (
dynamicConsumptionTimeInSeconds = 30
staticConsumptionTimeInSeconds = 3600
dynamicRequestSizeInMillicores = 20
dynamicRequestSizeInMillicores = 100
dynamicRequestSizeInMegabytes = 100
dynamicRequestSizeCustomMetric = 10
port = 80
......
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