justmeandopensource/kubernetes

The connection to the server 10.215.223.7:6443 was refused - did you specify the right host or port?

kjellmoens opened this issue · 2 comments

Hi,

I followed your lxc provisioning guide but when running kubectl get nodes, I receive
The connection to the server 10.215.223.7:6443 was refused - did you specify the right host or port?

Can you help ?

Thx

Was kubectl get nodes executed inside the kmaster node? If yes, please also provide output of kubectl cluster-info. If not, you need to execute lxc exec kmaster bash to get into the node.