From 20c20e2f1f8d4c4d5c1962f406dfe1af8e981b54 Mon Sep 17 00:00:00 2001 From: Benjamin Schimke Date: Sun, 15 Sep 2024 20:50:43 +0200 Subject: [PATCH] do not scale down HA cluster --- test/e2e/node_scale_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/e2e/node_scale_test.go b/test/e2e/node_scale_test.go index 7845c891..c23dda87 100644 --- a/test/e2e/node_scale_test.go +++ b/test/e2e/node_scale_test.go @@ -114,7 +114,7 @@ var _ = Describe("Workload cluster scaling", func() { WaitForMachineDeployments: e2eConfig.GetIntervals(specName, "wait-worker-nodes"), }, result) - By("Scaling up control planes to 3") + By("Scaling up control planes to 6") ApplyClusterTemplateAndWait(ctx, ApplyClusterTemplateAndWaitInput{ ClusterProxy: bootstrapClusterProxy, @@ -126,7 +126,7 @@ var _ = Describe("Workload cluster scaling", func() { Namespace: namespace.Name, ClusterName: clusterName, KubernetesVersion: e2eConfig.GetVariable(KubernetesVersion), - ControlPlaneMachineCount: pointer.Int64Ptr(3), + ControlPlaneMachineCount: pointer.Int64Ptr(6), WorkerMachineCount: pointer.Int64Ptr(3), }, WaitForClusterIntervals: e2eConfig.GetIntervals(specName, "wait-cluster"), @@ -134,7 +134,7 @@ var _ = Describe("Workload cluster scaling", func() { WaitForMachineDeployments: e2eConfig.GetIntervals(specName, "wait-worker-nodes"), }, result) - By("Scaling down control planes to 1") + By("Scaling down control planes to 3") ApplyClusterTemplateAndWait(ctx, ApplyClusterTemplateAndWaitInput{ ClusterProxy: bootstrapClusterProxy, @@ -146,7 +146,7 @@ var _ = Describe("Workload cluster scaling", func() { Namespace: namespace.Name, ClusterName: clusterName, KubernetesVersion: e2eConfig.GetVariable(KubernetesVersion), - ControlPlaneMachineCount: pointer.Int64Ptr(1), + ControlPlaneMachineCount: pointer.Int64Ptr(3), WorkerMachineCount: pointer.Int64Ptr(3), }, WaitForClusterIntervals: e2eConfig.GetIntervals(specName, "wait-cluster"),