mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Wait for all HollowNodes to become ready in start-kubemark.sh
This commit is contained in:
parent
5ef529fa10
commit
4dfd28086f
@ -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 New Issue
Block a user