Commit 107d0f6d authored by Marek Grabowski's avatar Marek Grabowski

Merge pull request #15143 from gmarek/fix-kubemark

Wait for all HollowNodes to become ready in start-kubemark.sh
parents b53c9d8c 4dfd2808
...@@ -182,3 +182,11 @@ kubectl create -f ${KUBECONFIG_SECRET} --namespace="kubemark" ...@@ -182,3 +182,11 @@ kubectl create -f ${KUBECONFIG_SECRET} --namespace="kubemark"
kubectl create -f ${KUBE_ROOT}/test/kubemark/hollow-kubelet.json --namespace="kubemark" kubectl create -f ${KUBE_ROOT}/test/kubemark/hollow-kubelet.json --namespace="kubemark"
rm ${KUBECONFIG_SECRET} rm ${KUBECONFIG_SECRET}
echo "Waiting for all HollowNodes to become Running..."
echo "This can loop forever if something crashed."
until [[ "$(kubectl --kubeconfig=${KUBE_ROOT}/test/kubemark/kubeconfig.loc get node | grep Ready | wc -l)" == "${NUM_MINIONS}" ]]; do
echo -n .
sleep 1
done
echo ""
Markdown is supported
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