alvistack/vagrant-kubernetes

Connection refused: server localhost:8080 was refused - did you specify the right host or port?

jtorrex opened this issue · 1 comments

Hi,

First, thanks for your work.

While trying to deploy the Vagrant Box both on versions 1.26 and 1.27, I'm facing this problem when the VM is completely up?

E0420 14:47:28.171297    7430 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
E0420 14:47:28.172978    7430 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
E0420 14:47:28.174568    7430 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
E0420 14:47:28.175973    7430 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp 127.0.0.1:8080: connect: connection refused
The connection to the server localhost:8080 was refused - did you specify the right host or port?

Is necessary an additional configuration to the Vagrantfile? Thanks in advance.

The kubeconfig is available under user 'root'.
sudo kubectl get nodes
should give some output