• Ken'ichi Ohmichi's avatar
    HPA: Make dynamicRequestSizeInMillicores bigger · 7d2f3a04
    Ken'ichi Ohmichi authored
    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 processes, 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).
    7d2f3a04
autoscaling_utils.go 20 KB