E0328 06:06:32.000464 19456 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

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:1 master node, 2 worker node

This is my first kubernetes cluster.

Kubernetes version:v1.28.8
Cloud being used: (put bare-metal if not on a public cloud)
Installation method:NUTANIX AHV
Host OS: Ubuntu 22.04.3 LTS
CNI and version:
CRI and version:

The command in the master node ‘‘kubectl get nodes’’ shows the following:

master@master-node:~$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
master-node Ready control-plane 18h v1.28.8
worker01 Ready 18h v1.28.8
worker02 Ready 18h v1.28.8

That is, the worker nodes are in the ready status, but on worker nodes it shows the following:

worker1@worker01:~$ kubectl get nodes
E0328 06:02:30.311570 18710 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
E0328 06:02:30.312519 18710 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
E0328 06:02:30.313239 18710 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
E0328 06:02:30.315119 18710 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
E0328 06:02:30.315754 18710 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?

This is fine?

1 Like