Skip to content

Commit

Permalink
Increase Pod Count for Tinkerbell
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jonathanmeier5 committed Oct 20, 2023
1 parent 00a4228 commit 62adf94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/framework/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion test/framework/testdata/hpa_busybox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
cpu: 50m
requests:
cpu: 10m
memory: 500Mi
memory: 1000Mi
command: ["sh", "-c"]
args:
- while [ 1 ]; do
Expand Down

0 comments on commit 62adf94

Please sign in to comment.