Skip to content
Snippets Groups Projects
Commit 17fddde1 authored by Steven Murray's avatar Steven Murray
Browse files

upgrade-eos.sh now tests for booted and online

parent e35e7fb9
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment