I tried setting up Kubeadm cluster in Apple Silicon , Using below github link
When i am trying to run the below command on Worker node , getting below error:
Commands: Kubectl get pods commands
Error:
E0107 22:09:01.940152 5697 memcache.go:265] couldn’t get current server API group list: Get “http://localhost:8080/api?timeout=32s”: dial tcp [::1]:8080: connect: connection refused
On Master Node everything is working fine, Looks like the worked node not able to connect with APIServer on Master node.
Could you please help me on this one.
thanks in advance.
It is generally not preferred practice to execute kubectl commands from worker nodes. In fact many installations don’t bother to install kubectl on them, and I probably should not have when building this lab.