Skip to content

Commit

Permalink
Merge pull request kubernetes#246 from rmmh/retry2
Browse files Browse the repository at this point in the history
Make curl retry 5 times throughout.
  • Loading branch information
Ryan Hitchman authored Jan 11, 2017
2 parents 492b44b + f084875 commit ef48aaa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xenial/kubeadm/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build:

binary:
mkdir -p usr/bin
curl --fail -sSL \
curl --fail -sSL --retry 5 \
-o usr/bin/kubeadm \
"{{ .DownloadLinkBase }}/bin/linux/{{ .Arch }}/kubeadm"

Expand Down
2 changes: 1 addition & 1 deletion xenial/kubectl/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build:

binary:
mkdir -p usr/bin
curl --fail -sS -L \
curl --fail -sS -L --retry 5 \
-o usr/bin/kubectl \
"{{ .DownloadLinkBase }}/bin/linux/{{ .Arch }}/kubectl"
chmod +x usr/bin/kubectl
Expand Down
2 changes: 1 addition & 1 deletion xenial/kubelet/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build:

binary:
mkdir -p usr/bin
curl --fail -sS -L \
curl --fail -sS -L --retry 5 \
-o usr/bin/kubelet \
"{{ .DownloadLinkBase }}/bin/linux/{{ .Arch }}/kubelet"
chmod +x usr/bin/kubelet
Expand Down

0 comments on commit ef48aaa

Please sign in to comment.