mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
Retry failed release downloads
gsutil cp is prone to failure during initial creation of a Kubernetes cluster. This 'until' loop will keep trying as suggested in the 'gsutil cp' documentation.
This commit is contained in:
parent
0e1636e003
commit
6bef460bdf
@ -21,7 +21,7 @@
|
||||
# master and run.
|
||||
|
||||
echo "Downloading release ($MASTER_RELEASE_TAR)"
|
||||
gsutil cp $MASTER_RELEASE_TAR master-release.tgz
|
||||
until gsutil cp $MASTER_RELEASE_TAR master-release.tgz; do sleep 1 ; echo "Retrying master download" ; done
|
||||
|
||||
|
||||
echo "Unpacking release"
|
||||
|
Loading…
Reference in New Issue
Block a user