mmumshad / kubernetes-the-hard-way

Bootstrap Kubernetes the hard way on Vagrant on Local Machine. No scripts.
Apache License 2.0
4.7k stars 4.54k forks source link

Worker node not registered #101

Closed sharmmoh1983 closed 2 years ago

sharmmoh1983 commented 4 years ago

When I run kubectl get nodes . I am getting following error

node "worker-1" not found

lalitkumarbansal commented 4 years ago

I am also facing same issue...

first problem was in /var/lib/kubelet/kube-config file ... there ${LOAD_BLANCER_IP} was not getting replaced, once I corrected that I started getting following problem ...

I tried running following command and from logs I found this

sudo journalctl -u kubelet

invalid kubeconfig: invalid configuration: no configuration

fireflycons commented 2 years ago

Hi @sharmmoh1983 @lalitkumarbansal

We have now merged a major change to bring this to v1.24. Many issues have been addressed as part of the upgrade. I realise this is a very old issue, however I was tasked with closing off all old issues following the upgrade. Please try it now and feel free to raise further issues.

Thanks.