mmumshad / kubernetes-the-hard-way

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

Errors while setup #261

Closed manpreetiitm closed 2 years ago

manpreetiitm commented 2 years ago

master-1:~# kubectl get componentstatuses --kubeconfig admin.kubeconfig The connection to the server 127.0.0.1:6443 was refused - did you specify the right host or port?

tarikly commented 2 years ago

After --kubeconfig try to pass the full path to kubeconfig file.

fireflycons commented 2 years ago

Hi @manpreetiitm

We have now merged a major change to bring this to v1.24, including several bug fixes. Please try again and raise a new issue for any issues found.

Thanks.