Skip to content

Commit d2d1391

Browse files
author
sivakami
committed
Use aks common field in swiftv2-podsubnet-cluster creation.
1 parent 9548e51 commit d2d1391

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.pipelines/swiftv2-long-running/scripts/create_pe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ az network private-endpoint create \
8484
&& echo "[OK] Private Endpoint $PE_NAME created for $SA1_NAME."
8585
verify_private_endpoint "$RG" "$PE_NAME"
8686

87-
echo "All Private DNS and Endpoint resources created and verified successfully."
87+
echo "All Private DNS and Endpoint resources created and verified successfully."

hack/aks/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -286,14 +286,10 @@ swiftv2-dummy-cluster-up: rg-up ipv4 swift-net-up ## Bring up a SWIFT AzCNI clus
286286
@$(MAKE) set-kubeconf
287287

288288
swiftv2-podsubnet-cluster-up: ipv4 swift-net-up ## Bring up a SWIFTv2 PodSubnet cluster
289-
$(AZCLI) aks create -n "$(CLUSTER)" -g $(GROUP) -l $(REGION) \
289+
$(COMMON_AKS_FIELDS)
290290
--network-plugin azure \
291-
--kubernetes-version $(K8S_VER) \
292291
--nodepool-name nodepool1 \
293-
--node-vm-size $(VM_SIZE) \
294-
--node-count $(NODE_COUNT) \
295292
--load-balancer-outbound-ips $(PUBLIC_IPv4) \
296-
--no-ssh-key \
297293
--vnet-subnet-id /subscriptions/$(SUB)/resourceGroups/$(GROUP)/providers/Microsoft.Network/virtualNetworks/$(VNET)/subnets/nodenet \
298294
--pod-subnet-id /subscriptions/$(SUB)/resourceGroups/$(GROUP)/providers/Microsoft.Network/virtualNetworks/$(VNET)/subnets/podnet \
299295
--service-cidr "10.0.0.0/16" \

0 commit comments

Comments
 (0)