Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save openstacker/1c29260894cc89e9c2e72e2968958490 to your computer and use it in GitHub Desktop.
Save openstacker/1c29260894cc89e9c2e72e2968958490 to your computer and use it in GitHub Desktop.
error: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the request
For anyone who hits this, it's caused by api-services that no longer have backends running...
In my case it was KEDA, but there are a number of different services that install aggregated API servers.
To fix it:
kubectl get apiservice
Look for ones the AVAILABLE is False
If you don't need those APIs any more, delete them:
kubectl delete apiservce <service-name>
Then Helm should work properly. I think improving the Helm error message for this case may be worthwhile...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment