Inernal server error whenever i run kubectl get nodes or pods

Dear community,

I have access to the k8s cluster, and it was running smoothly, after a few days when I accessed the cluster & ran the command "Kubectl gets nodes or get pods it takes time & then throws the following error. Anyone can tell me what will be the issue?

Error from server (InternalError): an error on the server (“”) has prevented the request from succeeding

Hi @asadu410

I am new to this community and was hovering over to get some information from here and saw your issue and thought of replying to you!

The issue indicates that there was an error on the Kubernetes API server side that prevented the requested operation from being completed and there could be several possible reasons for this error. That could be Issues with the Kubernetes API server, Authorization issues, Connectivity issues between the client and the API server, or Issues with the infrastructure that is the node where the pod is running.

Hope this helps, have a great day ahead!