Commit 06988f6d authored by Steven Murray's avatar Steven Murray
Browse files

upgrade-eos.sh now tests for booted and online

parent 3f8b01ab
......@@ -46,15 +46,12 @@ kubectl -n ${NAMESPACE} exec ctaeos -- systemctl status eos@*
kubectl -n ${NAMESPACE} exec ctaeos -- eos version
echo "Waiting for the EOS disk filesystem using /fst to come on-line"
while test 1 != `kubectl -n ${NAMESPACE} exec ctaeos -- eos fs ls /fst | grep booted | wc -l`; do
echo "Waiting for the EOS disk filesystem using /fst to boot and come on-line"
while test 1 != `kubectl -n ${NAMESPACE} exec ctaeos -- eos fs ls /fst | grep booted | grep online | wc -l`; do
echo "Sleeping 1 second"
sleep 1
done
# eos slow behind us and we need to give it time to be ready
sleep 10
echo "Available disk space inside EOS container:"
kubectl -n ${NAMESPACE} exec ctaeos -- df -h
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment