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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

popeye 0.9.8 with K8S 1.23.0 bug on horizontalpodautoscalers - Wrong default API #207

Closed
elatov opened this issue Dec 15, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@elatov
Copy link

elatov commented Dec 15, 2021

Similar to #163 with K8S 1.23 the version for autoscaling has changed:

> kubectl api-resources --api-group=autoscaling
NAME                       SHORTNAMES   APIVERSION       NAMESPACED   KIND
horizontalpodautoscalers   hpa          autoscaling/v2   true         HorizontalPodAutoscaler

here is the version of K8s:

> kubectl version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.0", GitCommit:"ab69524f795c42094a6630298ff53f3c3ebab7f4", GitTreeState:"clean", BuildDate:"2021-12-07T18:16:20Z", GoVersion:"go1.17.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.0", GitCommit:"ab69524f795c42094a6630298ff53f3c3ebab7f4", GitTreeState:"clean", BuildDate:"2021-12-07T18:09:57Z", GoVersion:"go1.17.3", Compiler:"gc", Platform:"linux/amd64"}

Else when i run popeye, I am receiving the following error:

/bin/popeye
 ___     ___ _____   _____                       D          .-'-.
| _ \___| _ \ __\ \ / / __|                       O     __| K    `\
|  _/ _ \  _/ _| \ V /| _|                         H   `-,-`--._   `\
|_| \___/_| |___| |_| |___|                       []  .->'  X     `|-'
  Biffs`em and Buffs`em!                            `=/ (__/_       /
                                                      \_,    `    _)
                                                         `----;  |


Boom! No resource meta found for autoscaling/v1/horizontalpodautoscalers

It's trying to use v1 vs v2

@derailed derailed added the bug Something isn't working label Jan 19, 2022
fyfey pushed a commit to fyfey/popeye that referenced this issue Feb 1, 2022
@taintedkernel
Copy link
Contributor

Any chance we could get a PR on this? I can create one if that will help.

@elatov
Copy link
Author

elatov commented Mar 16, 2022

@taintedkernel please go ahead. Thanks.

taintedkernel added a commit to taintedkernel/popeye that referenced this issue Mar 16, 2022
derailed added a commit that referenced this issue Apr 14, 2022
@elatov
Copy link
Author

elatov commented Apr 27, 2022

@derailed would you happen to know if there is a plan to release 0.10.0 tag in dockerhub? As of right now I just see 0.9.8 and latest.

@derailed
Copy link
Owner

@elatov v0.10.0 is parked for your viewing pleasure. Tx!

@elatov
Copy link
Author

elatov commented Apr 30, 2022

Awesome, thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants