Skip to content

Commit

Permalink
Add Tinkerberll Cluster Autoscaler E2E Test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanmeier5 committed Oct 5, 2023
1 parent 373ca45 commit 13d33f1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/e2e/tinkerbell_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,22 @@ func TestTinkerbellKubernetes127BottleRocketCuratedPackagesPrometheusSimpleFlow(
runCuratedPackagesPrometheusInstallTinkerbellSimpleFlow(test)
}

func TestTinkerbellKubernetes127UbuntuCuratedPackagesClusterAutoscalerSimpleFlow(t *testing.T) {
framework.CheckCuratedPackagesCredentials(t)
minNodes := 1
maxNodes := 2
test := framework.NewClusterE2ETest(t,
framework.NewTinkerbell(t, framework.WithUbuntu127Tinkerbell()),
framework.WithClusterFiller(api.WithKubernetesVersion(v1alpha1.Kube127), api.WithWorkerNodeAutoScalingConfig(minNodes, maxNodes)),
framework.WithControlPlaneHardware(1),
framework.WithWorkerHardware(2),
framework.WithPackageConfig(t, packageBundleURI(v1alpha1.Kube127),
EksaPackageControllerHelmChartName, EksaPackageControllerHelmURI,
EksaPackageControllerHelmVersion, EksaPackageControllerHelmValues, nil),
)
runAutoscalerWithMetricsServerSimpleFlow(test)
}

func TestTinkerbellKubernetes126UbuntuSingleNodeCuratedPackagesFlow(t *testing.T) {
test := framework.NewClusterE2ETest(t,
framework.NewTinkerbell(t, framework.WithUbuntu126Tinkerbell()),
Expand Down

0 comments on commit 13d33f1

Please sign in to comment.