mmumshad / kubernetes-the-hard-way

Bootstrap Kubernetes the hard way on Vagrant on Local Machine. No scripts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Errors while setup

manpreetiitm opened this issue · comments

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?

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

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.