Skip to content

Commit

Permalink
fix: add retries to cluster-active waiter (#2096)
Browse files Browse the repository at this point in the history
  • Loading branch information
msarfaty authored Dec 18, 2024
1 parent 9e8e37f commit 3b667df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/al2/runtime/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,9 @@ if [[ -z "${B64_CLUSTER_CA}" ]] || [[ -z "${APISERVER_ENDPOINT}" ]]; then

aws eks wait cluster-active \
--region=${AWS_DEFAULT_REGION} \
--name=${CLUSTER_NAME}
--name=${CLUSTER_NAME} || rc=$?

aws eks describe-cluster \
[[ $rc -eq 0 ]] && aws eks describe-cluster \
--region=${AWS_DEFAULT_REGION} \
--name=${CLUSTER_NAME} \
--output=text \
Expand Down

0 comments on commit 3b667df

Please sign in to comment.