@@ -131,7 +131,6 @@ overlay-byocni-up: rg-up overlay-net-up ## Brings up a Linux Overlay BYO CNI clu
131131 --yes
132132 @$(MAKE ) set-kubeconf
133133ifeq ($(OS ) ,windows)
134- AZCLI="az" GROUP="$(GROUP)" CLUSTER="$(CLUSTER)" sh ../scripts/wait-cluster-update.sh
135134 $(MAKE) windows-nodepool-up
136135endif
137136
@@ -343,23 +342,7 @@ vnetscale-swift-up: rg-up vnetscale-swift-net-up ## Bring up a Vnet Scale SWIFT
343342 --yes
344343 @$(MAKE ) set-kubeconf
345344
346- windows-cniv1-up : rg-up overlay-net-up # # Bring up a Windows CNIv1 cluster
347- $(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
348- --auto-upgrade-channel $(AUTOUPGRADE ) \
349- --node-os-upgrade-channel $(NODEUPGRADE ) \
350- --kubernetes-version $(K8S_VER ) \
351- --node-count $(NODE_COUNT ) \
352- --node-vm-size $(VM_SIZE ) \
353- --network-plugin azure \
354- --windows-admin-password $(WINDOWS_PASSWORD ) \
355- --windows-admin-username $(WINDOWS_USERNAME ) \
356- --vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
357- --no-ssh-key \
358- --yes
359- @$(MAKE ) windows-nodepool-up
360- @$(MAKE ) set-kubeconf
361-
362- linux-cniv1-up : rg-up overlay-net-up # # Bring up a Linux CNIv1 cluster
345+ cniv1-up : rg-up overlay-net-up # # Bring up a CNIv1 cluster
363346 $(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
364347 --auto-upgrade-channel $(AUTOUPGRADE ) \
365348 --node-os-upgrade-channel $(NODEUPGRADE ) \
@@ -373,6 +356,9 @@ linux-cniv1-up: rg-up overlay-net-up ## Bring up a Linux CNIv1 cluster
373356 --no-ssh-key \
374357 --yes
375358 @$(MAKE ) set-kubeconf
359+ ifeq ($(OS ) ,windows)
360+ $(MAKE) windows-nodepool-up
361+ endif
376362
377363dualstack-overlay-up : rg-up overlay-net-up # # Brings up an dualstack Overlay cluster with Linux node only
378364 $(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
@@ -406,7 +392,6 @@ dualstack-overlay-byocni-up: rg-up overlay-net-up ## Brings up an dualstack Over
406392 --yes
407393 @$(MAKE ) set-kubeconf
408394ifeq ($(OS ) ,windows)
409- AZCLI="az" GROUP="$(GROUP)" CLUSTER="$(CLUSTER)" sh ../scripts/wait-cluster-update.sh
410395 $(MAKE) windows-nodepool-up
411396endif
412397
@@ -445,6 +430,7 @@ dualstack-byocni-nokubeproxy-up: rg-up overlay-net-up ## Brings up a Dualstack o
445430 @$(MAKE ) set-kubeconf
446431
447432windows-nodepool-up : # # Add windows node pool
433+ AZCLI=" az" GROUP=" $( GROUP) " CLUSTER=" $( CLUSTER) " sh ../scripts/wait-cluster-update.sh
448434 $(AZCLI ) aks nodepool add -g $(GROUP ) -n npwin \
449435 --node-count $(NODE_COUNT_WIN ) \
450436 --node-vm-size $(VM_SIZE_WIN ) \
0 commit comments