Update
This commit is contained in:
parent
e8284a695a
commit
2b43278546
1 changed files with 0 additions and 9 deletions
|
@ -13,15 +13,6 @@ k8sDeploy () {
|
||||||
cd ${groot}/contrib/ansible && \
|
cd ${groot}/contrib/ansible && \
|
||||||
ansible-playbook bootstrap-node.yml && \
|
ansible-playbook bootstrap-node.yml && \
|
||||||
ansible-playbook init-cluster.yml
|
ansible-playbook init-cluster.yml
|
||||||
# Sometimes it's still not ready on this stage, let's check it just to be sure
|
|
||||||
while true ; do
|
|
||||||
echo "Waiting for node up..."
|
|
||||||
result=$(kubectl get nodes|awk '{print $2}'| tail -1| grep -nE '^Ready')
|
|
||||||
if [ -z "$result" ] ; then
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
sleep 10
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
InstallCSI () {
|
InstallCSI () {
|
||||||
helm repo add rimusz https://charts.rimusz.net
|
helm repo add rimusz https://charts.rimusz.net
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue