Open liubin opened 6 years ago
@liubin I just tried with the following instructions and everything seems OK:
$ NODES=2 vagrant halt
$ NODES=2 vagrant up
This is equivalent to NODES=2 vagrant reload
. Can you please provide the exact instructions you followed since creating the cluster?
I only did some vagrant reload or vagrant halt & vagrant up.
After some watches, I think the problem may be that the kubelet
container started earlier than the MASTER_IP
's replace.
I cant see the file /etc/kubernetes/node-kubeconfig.yaml
has the correct ip of master, but kubelet's log show that it is still using the MASTER_IP
, after restart the kubelet by docker restartt kubelet
, the node becomes ready status.
Hi, thanks for your work, I'm using the latest version of this repo and can worked when vagrant up, but after vagrant reload, node-01 and node-02 become not ready, and I found the log of kubelet container in node-02:
It seems that the var is not replaced by the real value.