@@ -9,12 +9,12 @@ AZCLI ?= docker run --rm -v $(AZCFG):/root/.azure -v $(KUBECFG):/root/.kube -v
99
1010# overrideable defaults
1111AUTOUPGRADE ?= patch
12- K8S_VER ?= 1.31
12+ K8S_VER ?= 1.30
1313NODE_COUNT ?= 2
1414NODE_COUNT_WIN ?= $(NODE_COUNT )
1515NODEUPGRADE ?= NodeImage
1616OS ?= linux # Used to signify if you want to bring up a windows nodePool on byocni clusters
17- OS_SKU ?= AzureLinux
17+ OS_SKU ?= Ubuntu
1818OS_SKU_WIN ?= Windows2022
1919REGION ?= westus2
2020VM_SIZE ?= Standard_B2s
@@ -136,13 +136,15 @@ endif
136136
137137overlay-byocni-nokubeproxy-up : rg-up overlay-net-up # # Brings up an Overlay BYO CNI cluster without kube-proxy
138138 $(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
139+ --auto-upgrade-channel $(AUTOUPGRADE ) \
140+ --node-os-upgrade-channel $(NODEUPGRADE ) \
139141 --kubernetes-version $(K8S_VER ) \
140142 --node-count $(NODE_COUNT ) \
141143 --node-vm-size $(VM_SIZE ) \
144+ --load-balancer-sku basic \
142145 --network-plugin none \
143146 --network-plugin-mode overlay \
144147 --pod-cidr 192.168.0.0/16 \
145- --aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/UseCustomizedOSImage,OSImageSubscriptionID=109a5e88-712a-48ae-9078-9ca8b3c81345,OSImageResourceGroup=AKS-Ubuntu,OSImageGallery=AKSUbuntu,OSImageName=2404gen2containerd,OSImageVersion=202501.05.0 \
146148 --vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
147149 --no-ssh-key \
148150 --kube-proxy-config $(KUBE_PROXY_JSON_PATH ) \
@@ -161,8 +163,6 @@ overlay-cilium-up: rg-up overlay-net-up ## Brings up an Overlay Cilium cluster
161163 --network-dataplane cilium \
162164 --network-plugin-mode overlay \
163165 --pod-cidr 192.168.0.0/16 \
164- --os-sku $(OS_SKU ) \
165- --aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/AzureLinuxV3Preview \
166166 --vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
167167 --no-ssh-key \
168168 --yes
0 commit comments