Skip to content

Commit f1f9e5a

Browse files
committed
register ubuntu 2404 preview feature
1 parent 279f2cf commit f1f9e5a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

hack/aks/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ nodesubnet-byocni-nokubeproxy-up: rg-up ipv4 overlay-net-up ## Brings up an Node
150150
--network-plugin none \
151151
--vnet-subnet-id /subscriptions/$(SUB)/resourceGroups/$(GROUP)/providers/Microsoft.Network/virtualNetworks/$(VNET)/subnets/nodenet \
152152
--kube-proxy-config $(KUBE_PROXY_JSON_PATH) \
153+
--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/features/Ubuntu2404Preview \
153154
--yes
154155
@$(MAKE) set-kubeconf
155156

@@ -174,6 +175,7 @@ overlay-byocni-nokubeproxy-up: rg-up ipv4 overlay-net-up ## Brings up an Overlay
174175
--pod-cidr $(POD_CIDR) \
175176
--vnet-subnet-id /subscriptions/$(SUB)/resourceGroups/$(GROUP)/providers/Microsoft.Network/virtualNetworks/$(VNET)/subnets/nodenet \
176177
--kube-proxy-config $(KUBE_PROXY_JSON_PATH) \
178+
--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/features/Ubuntu2404Preview \
177179
--yes
178180
@$(MAKE) set-kubeconf
179181

@@ -234,6 +236,7 @@ swift-byocni-nokubeproxy-up: rg-up ipv4 swift-net-up ## Bring up a SWIFT BYO CNI
234236
--vnet-subnet-id /subscriptions/$(SUB)/resourceGroups/$(GROUP)/providers/Microsoft.Network/virtualNetworks/$(VNET)/subnets/nodenet \
235237
--pod-subnet-id /subscriptions/$(SUB)/resourceGroups/$(GROUP)/providers/Microsoft.Network/virtualNetworks/$(VNET)/subnets/podnet \
236238
--kube-proxy-config $(KUBE_PROXY_JSON_PATH) \
239+
--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/features/Ubuntu2404Preview \
237240
--yes
238241
@$(MAKE) set-kubeconf
239242

@@ -303,6 +306,7 @@ vnetscale-swift-byocni-nokubeproxy-up: rg-up ipv4 vnetscale-swift-net-up ## Brin
303306
--pod-subnet-id /subscriptions/$(SUB)/resourceGroups/$(GROUP)/providers/Microsoft.Network/virtualNetworks/$(VNET)/subnets/podnet \
304307
--kube-proxy-config $(KUBE_PROXY_JSON_PATH) \
305308
--pod-ip-allocation-mode StaticBlock \
309+
--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/features/Ubuntu2404Preview \
306310
--yes
307311
@$(MAKE) set-kubeconf
308312

@@ -393,7 +397,7 @@ dualstack-byocni-nokubeproxy-up: rg-up ipv4 ipv6 overlay-net-up ## Brings up a D
393397
--network-plugin-mode overlay \
394398
--subscription $(SUB) \
395399
--ip-families ipv4,ipv6 \
396-
--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/AzureOverlayDualStackPreview \
400+
--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/AzureOverlayDualStackPreview,AKSHTTPCustomFeatures=Microsoft.ContainerService/features/Ubuntu2404Preview \
397401
--kube-proxy-config $(KUBE_PROXY_JSON_PATH) \
398402
--yes
399403
@$(MAKE) set-kubeconf

0 commit comments

Comments
 (0)