sleep 60 seconds between deployments

This commit is contained in:
Grant Limberg 2018-12-07 15:17:12 -08:00
parent 4a89729529
commit e23d95bf03

View File

@ -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