Skip to content

Commit 87bd90b

Browse files
committed
Revert "remove wait time as we don't depend on VAS (awslabs#462)"
This reverts commit b9ed3be.
1 parent 8081c61 commit 87bd90b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/tasks/setup/eks/awscli-mng.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ spec:
4848
image: alpine/k8s:1.23.7
4949
script: |
5050
ENDPOINT_FLAG=""
51+
# Todo: remove this workaround for nodes less than 5k when our scaling system can scale up instantly
52+
if [ $(params.desired-nodes) -lt 5001 ] && [ $(params.desired-nodes) -gt 500 ]
53+
then
54+
echo "sleeping for 15 mins to workaround VAS cool off time"
55+
sleep 900
56+
fi
5157
5258
NODE_ROLE_NAME=$(params.host-cluster-node-role-name)
5359
NODE_ROLE_ARN=$(aws iam get-role --role-name $NODE_ROLE_NAME --query 'Role.[Arn]' --output text)

0 commit comments

Comments
 (0)