I am comparatively new to kubernetes but i have successfully created many clusters before. Now i am facing an issue where i tried to add a node to an already existing cluster. At first kubeadm join seems to be successful but even after initializing the pod network only the master became into Ready.
root@master# kubectl get nodes NAME STATUS ROLES AGE VERSION master-virtual-machine Ready master 18h v1.9.0 testnode-virtual-machine NotReady <none> 16h v1.9.0
OS: Ubuntu 16.04
Any help will be appreciated. Thanks.
try the following on the slave node and try to get the status again on master.
> sudo swapoff -a
> exit