mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-28 13:24:24 -04:00
Wait for all HollowNodes to become ready in start-kubemark.sh
This commit is contained in:
parent
5ef529fa10
commit
4dfd28086f
1 changed files with 8 additions and 0 deletions
|
|
@ -182,3 +182,11 @@ kubectl create -f ${KUBECONFIG_SECRET} --namespace="kubemark"
|
|||
kubectl create -f ${KUBE_ROOT}/test/kubemark/hollow-kubelet.json --namespace="kubemark"
|
||||
|
||||
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 ""
|
||||
|
|
|
|||
Loading…
Reference in a new issue