Skip to content

Commit

Permalink
Add Tinkerbell Cluster Autoscaler E2E Test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanmeier5 committed May 18, 2023
1 parent b6bd71e commit 233e9a9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/e2e/tinkerbell_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,21 @@ func TestTinkerbellKubernetes127BottleRocketCuratedPackagesPrometheusSimpleFlow(
runCuratedPackagesPrometheusInstallTinkerbellSimpleFlow(test)
}

func TestTinkerbellKubernetes127UbuntuCuratedPackagesClusterAutoscalerSimpleFlow(t *testing.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 TestTinkerbellKubernetes123UbuntuTo124Upgrade(t *testing.T) {
provider := framework.NewTinkerbell(t, framework.WithUbuntu123Tinkerbell())
test := framework.NewClusterE2ETest(
Expand Down

0 comments on commit 233e9a9

Please sign in to comment.