Everything was running smoothly with my Kubernetes clusters until today: after performing an update on my Ubuntu system, I'm now unable to establish a connection from my working environment to the kubernetes clusters.
When executing the command kubectl get pods
, I'm encountering the following error message:
E0805 09:59:45.750534 234576 memcache.go:265] couldn’t get current server API group list: Get "http://localhost:3334/api?timeout=32s": EOF
Here are the details of my cluster setup: Kubernetes 1.27, bare-metal, Host System is Ubuntu 20.04
Try
kubectl get nodes -v=10
and look for the errors.