Remove Armada timeout from genesis script.
- removing Promenade timeout to allow Armada to hit its own timeout(s) as specified in manifest Change-Id: I1ecc934d0692698460fb2e9a2ae0a7a07bfbe54e
This commit is contained in:
parent
6e87b82f51
commit
850e379f04
|
@ -34,18 +34,12 @@ done
|
||||||
tail -f /var/log/armada/bootstrap-armada.log &
|
tail -f /var/log/armada/bootstrap-armada.log &
|
||||||
|
|
||||||
set +x
|
set +x
|
||||||
end=$(($(date +%s) + 3600))
|
|
||||||
while true; do
|
while true; do
|
||||||
if [[ -e /etc/kubernetes/manifests/bootstrap-armada.yaml ]]; then
|
if [[ -e /etc/kubernetes/manifests/bootstrap-armada.yaml ]]; then
|
||||||
now=$(date +%s)
|
|
||||||
if [ $now -gt $end ]; then
|
|
||||||
log Armada static pod manifest still in place after expected duration
|
|
||||||
fail
|
|
||||||
fi
|
|
||||||
sleep 30
|
sleep 30
|
||||||
kubectl get pods --all-namespaces || echo "Could not get current pod status."
|
kubectl get pods --all-namespaces || echo "Could not get current pod status."
|
||||||
else
|
else
|
||||||
log Armada static pod manifest removed
|
log Armada bootstrap manifest deployed
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue