File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
.pipelines/swiftv2-long-running/scripts Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ for i in "${!VNAMES[@]}"; do
6969 continue
7070 fi
7171 cluster_name=" ${BUILD_ID} -${VNET} -${PODSUBNET} "
72- make -C ./hack/aks swiftv2-dummy-cluster-up \
72+ make -C ./hack/aks swiftv2-dummy-cluster-subnet-delegator- up \
7373 AZCLI=az CLUSTER=$cluster_name GROUP=$RG REGION=$LOCATION \
7474 SUB=$SUB_ID VNET=$VNET POD_SUBNET=$PODSUBNET \
7575 && echo " Created dummy cluster for $VNET subnet $PODSUBNET "
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ PUBLIC_IPv4 ?= $(PUBLIC_IP_ID)/$(IP_PREFIX)-$(CLUSTER)-v4
2828PUBLIC_IPv6 ?= $(PUBLIC_IP_ID ) /$(IP_PREFIX ) -$(CLUSTER ) -v6
2929KUBE_PROXY_JSON_PATH ?= ./kube-proxy.json
3030LTS ?= false
31- POD_SUBNET ?= podnet
3231
3332
3433# overrideable variables
@@ -288,6 +287,17 @@ swiftv2-multitenancy-cluster-up: rg-up ipv4
288287 @$(MAKE ) set-kubeconf
289288
290289swiftv2-dummy-cluster-up : rg-up ipv4 swift-net-up # # Bring up a SWIFT AzCNI cluster
290+ $(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
291+ --network-plugin azure \
292+ --vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
293+ --pod-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/podnet \
294+ --tags stampcreatorserviceinfo=true \
295+ --load-balancer-outbound-ips $(PUBLIC_IPv4 ) \
296+ --no-ssh-key \
297+ --yes
298+ @$(MAKE ) set-kubeconf
299+
300+ swiftv2-dummy-cluster-subnet-delegator-up : ipv4 # # Bring up a SWIFT AzCNI cluster for delegating subnet.
291301 $(AZCLI ) aks create -n $(CLUSTER ) -g $(GROUP ) -l $(REGION ) \
292302 --network-plugin azure \
293303 --vnet-subnet-id /subscriptions/$(SUB ) /resourceGroups/$(GROUP ) /providers/Microsoft.Network/virtualNetworks/$(VNET ) /subnets/nodenet \
You can’t perform that action at this time.
0 commit comments