Kubernetes worker node is in Not Ready state

12/21/2017

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.

-- SidDHartH JoShi
kubeadm
kubernetes
ubuntu-16.04

1 Answer

9/22/2019

try the following on the slave node and try to get the status again on master.

> sudo swapoff -a

> exit
-- user473445
Source: StackOverflow