Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run Popeye #171

Open
Thanzex opened this issue May 29, 2021 · 2 comments
Open

Can't run Popeye #171

Thanzex opened this issue May 29, 2021 · 2 comments
Labels
question Further information is requested

Comments

@Thanzex
Copy link

Thanzex commented May 29, 2021

Description
Running popeye both on my local machine and on a server that runs k8s popeye fails immediately with
Boom! 馃挜 unable to retrieve the complete list of server APIs: server.com/v1alpha1: the server is currently unable to handle the request.

The cluster works just fine and the API server is operational, kubectl works on both machines
I'm running k3s, but there shouldn't be any problems with it as I did use this tool on previous versions.

Expected behavior
Popeye should work.

Versions

  • Local machine: Windows
    • kubectl 1.20.1
  • Kubernetes: v1.20.4+k3s1
    • kubectl 1.20.4

Is there anything I can provide to you to debug this?

@DidierHoarau
Copy link

Hi,

I've encountered a similar issue.

The message I get is:
Boom! 馃挜 unable to retrieve the complete list of server APIs: compose.docker.com/v1alpha3: the server is currently unable to handle the request, compose.docker.com/v1beta1: the server is currently unable to handle the request, compose.docker.com/v1beta2: the server is currently unable to handle the request, metrics.k8s.io/v1beta1: the server is currently unable to handle the request

After a bit of search I found this post: helm/helm#6361

It seems that it is linked to some apiservice being down. My assumption is that if you do kubectl get apiservices, all services should be available except the one that appear in the error message.

A workaround/suggestion/(solution?) seems to be to fix or delete the one that are not marked as "available". I have not done it yet... investigating if it is safe first.

I hope it helps

@derailed derailed added the question Further information is requested label Sep 1, 2021
@yelinaung
Copy link

I had the same issue

Boom! 馃挜 unable to retrieve the complete list of server APIs: custom.metrics.k8s.io/v1beta1: the server could not find the requested resource, external.metrics.k8s.io/v1beta1: the server could not find the requested resource

The solution that worked for me (from the helm issue link above) is

  • deleting all the apiservices with AVAILABLE being False
  • deleting this particular apiservices -
v1beta1.metrics.k8s.io                    kube-system/metrics-server   True        17s
  • finding the metric-server in the cluster by k get deployment -A | grep "metrics" and restarting it with k rollout restart deployment -n kube-system metrics-server-v0.3.6 (this is the version I have in my cluster)
  • as part of the restart, the metrics-server will re-install the v1beta1.metrics.k8s.io api-services.
  • waited for a while and after that I am able to get the results from popeye

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants