mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-11 18:09:59 -03:30
This is a cherry-pick of 22115047903729f5b316719131e1e69c263f3300 Signed-off-by: Wang Zhen <lazybetrayer@gmail.com> Co-authored-by: Wang Zhen <lazybetrayer@gmail.com>
This commit is contained in:
parent
bd4407199c
commit
dfee7a8ec5
@ -14,7 +14,7 @@ echo "## Restarting control plane pods managed by kubeadm ##"
|
||||
{% endif %}
|
||||
|
||||
echo "## Updating /root/.kube/config ##"
|
||||
/usr/bin/cp {{ kube_config_dir }}/admin.conf /root/.kube/config
|
||||
cp {{ kube_config_dir }}/admin.conf /root/.kube/config
|
||||
|
||||
echo "## Waiting for apiserver to be up again ##"
|
||||
until printf "" 2>>/dev/null >>/dev/tcp/127.0.0.1/6443; do sleep 1; done
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user