Skip to content

Commit 4821635

Browse files
committed
nodepool scale down instead of vmss scale
1 parent 423a1c7 commit 4821635

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.pipelines/cni/cilium/cilium-scale-test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)