Skip to content

Commit

Permalink
k8s retry delete during cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
frostebite authored Aug 22, 2020
1 parent 67b7658 commit 92cfb31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action/bootstrapper/ReleaseLockAndAttemptShutdown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ then
exit 0
else
echo "delete cluster"
gcloud container clusters delete $GKE_CLUSTER --zone $GKE_ZONE --project $GKE_PROJECT --quiet
retry -s 15 -t 5 -v 'gcloud container clusters delete $GKE_CLUSTER --zone $GKE_ZONE --project $GKE_PROJECT --quiet'
fi

0 comments on commit 92cfb31

Please sign in to comment.