@@ -184,21 +184,21 @@ var _ = Describe("Workload cluster creation", func() {
184
184
})
185
185
186
186
Context ("Creating a single control-plane cluster" , func () {
187
- It ("Should create a cluster with 1 worker node and can be scaled " , func () {
188
- By ("Initializes with 1 worker node" )
187
+ It ("Should create a cluster with 3 worker node with custom subnet " , func () {
188
+ By ("Initializes with 3 worker node" )
189
189
clusterctl .ApplyClusterTemplateAndWait (ctx , clusterctl.ApplyClusterTemplateAndWaitInput {
190
190
ClusterProxy : bootstrapClusterProxy ,
191
191
ConfigCluster : clusterctl.ConfigClusterInput {
192
192
LogFolder : clusterctlLogFolder ,
193
193
ClusterctlConfigPath : clusterctlConfigPath ,
194
194
KubeconfigPath : bootstrapClusterProxy .GetKubeconfigPath (),
195
195
InfrastructureProvider : clusterctl .DefaultInfrastructureProvider ,
196
- Flavor : clusterctl . DefaultFlavor ,
196
+ Flavor : "ci-gke-custom-subnet" ,
197
197
Namespace : namespace .Name ,
198
198
ClusterName : clusterName ,
199
199
KubernetesVersion : e2eConfig .GetVariable (KubernetesVersion ),
200
200
ControlPlaneMachineCount : pointer .Int64Ptr (1 ),
201
- WorkerMachineCount : pointer .Int64Ptr (1 ),
201
+ WorkerMachineCount : pointer .Int64Ptr (3 ),
202
202
ClusterctlVariables : map [string ]string {
203
203
"GCP_SUBNET_NAME" : "capg-test-subnet" ,
204
204
"GCP_SUBNET_CIDR" : "172.20.0.0/16" ,
0 commit comments