From e23d95bf038c38fd07353415b752efa21a47ae7c Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Fri, 7 Dec 2018 15:17:12 -0800 Subject: [PATCH] sleep 60 seconds between deployments --- update_controllers.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update_controllers.sh b/update_controllers.sh index 5e11434d1..2991ad34c 100755 --- a/update_controllers.sh +++ b/update_controllers.sh @@ -13,4 +13,6 @@ CONTROLLERS=`kubectl get pods -o=name | grep controller | sed "s/^.\{4\}//" | cu for c in ${CONTROLLERS[@]} do kubectl set image deployment controller-${c} ztcentral-controller=gcr.io/zerotier-central/ztcentral-controller:${TAG} + echo "Sleeping for 1 minute" + sleep 60 done