Skip to content

Commit cae983b

Browse files
committed
added public ip for nodesubnet-byocni-nokubeproxy-up resource
1 parent b43dc44 commit cae983b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hack/aks/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ up: swift-up ## Alias to swift-up
120120

121121

122122
nodesubnet-byocni-nokubeproxy-up: rg-up overlay-net-up ## Brings up an NodeSubnet BYO CNI cluster without kube-proxy
123+
@$(MAKE) public-ipv4
123124
$(AZCLI) aks create -n $(CLUSTER) -g $(GROUP) -l $(REGION) \
124125
--auto-upgrade-channel $(AUTOUPGRADE) \
125126
--node-os-upgrade-channel $(NODEUPGRADE) \
@@ -128,6 +129,7 @@ nodesubnet-byocni-nokubeproxy-up: rg-up overlay-net-up ## Brings up an NodeSubne
128129
--node-vm-size $(VM_SIZE) \
129130
--load-balancer-sku standard \
130131
--max-pods 250 \
132+
--load-balancer-outbound-ips /subscriptions/$(SUB)/resourceGroups/$(GROUP)/providers/Microsoft.Network/publicIPAddresses/$(PUBLIC_IPv4) \
131133
--network-plugin none \
132134
--vnet-subnet-id /subscriptions/$(SUB)/resourceGroups/$(GROUP)/providers/Microsoft.Network/virtualNetworks/$(VNET)/subnets/nodenet \
133135
--os-sku $(OS_SKU) \

0 commit comments

Comments
 (0)