diff options
author | Grant Limberg <grant.limberg@zerotier.com> | 2018-12-07 15:17:12 -0800 |
---|---|---|
committer | Grant Limberg <grant.limberg@zerotier.com> | 2018-12-07 15:17:12 -0800 |
commit | e23d95bf038c38fd07353415b752efa21a47ae7c (patch) | |
tree | a519a19fb08b3881112081404ce26415f36f2ff3 /update_controllers.sh | |
parent | 4a89729529b721f7c81548e8df6b3e01a20179c4 (diff) | |
download | infinitytier-e23d95bf038c38fd07353415b752efa21a47ae7c.tar.gz infinitytier-e23d95bf038c38fd07353415b752efa21a47ae7c.zip |
sleep 60 seconds between deployments
Diffstat (limited to 'update_controllers.sh')
-rwxr-xr-x | update_controllers.sh | 2 |
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 |