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

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 the fix is available in the PMK-5.9.2 release.

  • The internal bug PMK-6248 is used to track this issue.

Additional Information

If you need to know any further details related to this issue, please open a support ticket mentioning the Jira ID PMK-6248.