From 62adf94c7522a2ebdcb689ed76579636627bf44b Mon Sep 17 00:00:00 2001 From: Jonathan Meier Date: Fri, 20 Oct 2023 12:59:56 -0400 Subject: [PATCH] Increase Pod Count for Tinkerbell Bare Metal nodes have a ton of memory, so in order to force a scale up we need a lot of pods and/or a lot of memory requests. --- test/framework/cluster.go | 2 +- test/framework/testdata/hpa_busybox.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/framework/cluster.go b/test/framework/cluster.go index 208da1904a2e..964b10dc3d28 100644 --- a/test/framework/cluster.go +++ b/test/framework/cluster.go @@ -2007,7 +2007,7 @@ func (e *ClusterE2ETest) CombinedAutoScalerMetricServerTest(autoscalerName, metr e.T.Fatalf("Failed waiting for test workload deployent %s", err) } - params := []string{"autoscale", "deployment", name, "--cpu-percent=50", "--min=1", "--max=20", "--kubeconfig", e.KubeconfigFilePath()} + params := []string{"autoscale", "deployment", name, "--cpu-percent=50", "--min=1", "--max=150", "--kubeconfig", e.KubeconfigFilePath()} _, err = e.KubectlClient.ExecuteCommand(ctx, params...) if err != nil { e.T.Fatalf("Failed to autoscale deployent: %s", err) diff --git a/test/framework/testdata/hpa_busybox.yaml b/test/framework/testdata/hpa_busybox.yaml index 55d690289be1..9401280deff4 100644 --- a/test/framework/testdata/hpa_busybox.yaml +++ b/test/framework/testdata/hpa_busybox.yaml @@ -20,7 +20,7 @@ spec: cpu: 50m requests: cpu: 10m - memory: 500Mi + memory: 1000Mi command: ["sh", "-c"] args: - while [ 1 ]; do