Kubectl Commands Throwing Error: Metrics Server Currently Unable to Handle Requests

Problem

While executing the Kubectl commands, seeing errors related to metrics-server unable to handle requests as shown below:

$ kubectl get pods -A | grep metrics-server
E1117 13:54:58.971445 28669 memcache.go:287] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1117 13:54:59.945282 28669 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1117 13:55:00.801531 28669 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1117 13:55:01.232673 28669 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
kube-system metrics-server-v0.5.0-585cd678d7-5kmkn 2/2 Running 0 112m

Environment

  • Platform9 Managed Kubernetes - v5.6.8.

Answer

  • This is a known issue and is fixed in Platform9 Manager Kubernetes v5.9.2 Release.