ktop icon indicating copy to clipboard operation
ktop copied to clipboard

Could not find requested resource

Open kunal-bhatia opened this issue 6 years ago • 3 comments

On requesting for a specific namespace(e.g. ehcache-demo), it throws the following error:-

ktop -n ehcache-demo
Error: the server could not find the requested resource (get nodes.metrics.k8s.io): the server could not find the requested resource (get pods.metrics.k8s.io): the server could not find the requested resource (get pods.metrics.k8s.io)

kunal-bhatia avatar Jul 02 '19 08:07 kunal-bhatia

This is also happening to me in Kubernetes KIND.. any idea how to resolve that? Is that something that needs to be enabled in the cluster?

salaboy avatar Sep 23 '19 10:09 salaboy

Same here

pditommaso avatar Nov 16 '19 19:11 pditommaso

It may be caused that there are not metric-server on your k8s. For exampe, If you use on minkube let's enable metric-server via $ minikube addons enable metrics-server.

ynqa avatar May 11 '20 18:05 ynqa