HPA E2E Test: CPU / Memory: Average Value / Utilization

This commit is contained in:
Piotr Nosek
2022-09-05 21:43:03 +00:00
parent c870f1ddc7
commit 3d7855392f
5 changed files with 336 additions and 205 deletions

View File

@@ -53,7 +53,7 @@ func (t *HPAUpgradeTest) Setup(f *framework.Framework) {
f.ScalesGetter,
e2eautoscaling.Disable,
e2eautoscaling.Idle)
t.hpa = e2eautoscaling.CreateCPUHorizontalPodAutoscaler(
t.hpa = e2eautoscaling.CreateCPUResourceHorizontalPodAutoscaler(
t.rc,
20, /* targetCPUUtilizationPercent */
1, /* minPods */