summaryrefslogtreecommitdiff
path: root/update_controllers.sh
diff options
context:
space:
mode:
authorGrant Limberg <grant.limberg@zerotier.com>2018-12-07 15:17:12 -0800
committerGrant Limberg <grant.limberg@zerotier.com>2018-12-07 15:17:12 -0800
commite23d95bf038c38fd07353415b752efa21a47ae7c (patch)
treea519a19fb08b3881112081404ce26415f36f2ff3 /update_controllers.sh
parent4a89729529b721f7c81548e8df6b3e01a20179c4 (diff)
downloadinfinitytier-e23d95bf038c38fd07353415b752efa21a47ae7c.tar.gz
infinitytier-e23d95bf038c38fd07353415b752efa21a47ae7c.zip
sleep 60 seconds between deployments
Diffstat (limited to 'update_controllers.sh')
-rwxr-xr-xupdate_controllers.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/update_controllers.sh b/update_controllers.sh
index 5e11434d..2991ad34 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