File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -442,6 +442,7 @@ stages:
442442 - job : scale_down
443443 pool :
444444 name : " $(BUILD_POOL_NAME_DEFAULT)"
445+ timeoutInMinutes : 120
445446 steps :
446447 - task : AzureCLI@2
447448 inputs :
@@ -454,7 +455,7 @@ stages:
454455 az aks get-credentials --resource-group ${RESOURCE_GROUP} --name ${CLUSTER}
455456 echo "Scaling to 5 nodes"
456457 vmss_name=$(az vmss list -g MC_${RESOURCE_GROUP}_${CLUSTER}_$(LOCATION) --query "[].name" -o tsv)
457- make -C ./hack/ aks scale-vmss AZCLI=az GROUP=${RESOURCE_GROUP} CLUSTER= ${CLUSTER} REGION=$(LOCATION) VMSS_NAME=$vmss_name NODE_COUNT= 5
458+ az aks nodepool scale --name nodepool1 --cluster-name ${CLUSTER} --resource-group ${RESOURCE_GROUP} --node-count 5
458459 kubectl get node
459460 name : " ScaleDown"
460461 displayName : " Scale down to 5 Nodes"
You can’t perform that action at this time.
0 commit comments