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

Lens doesn't show HPA for autoscaling/v2 api version #6817

Closed
abalalaev opened this issue Dec 22, 2022 · 2 comments · Fixed by #6906
Closed

Lens doesn't show HPA for autoscaling/v2 api version #6817

abalalaev opened this issue Dec 22, 2022 · 2 comments · Fixed by #6906
Assignees
Labels
bug Something isn't working

Comments

@abalalaev
Copy link

Describe the bug
We use autoscaling/v2 api version for our HPA deployments:
$ kubectl get hpa/app-hpa -n default -o yaml apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler

But it looks like lens trying to use autoscaling/v2beta1 only

In our k8s version
$ kubectl version --short Client Version: v1.26.0 Kustomize Version: v4.5.7 Server Version: v1.25.4
we don't have v2beta1 api version
$ kubectl api-versions | grep autoscaling autoscaling/v1 autoscaling/v2 autoscaling/v2beta2

To Reproduce
Steps to reproduce the behavior:

  1. Go to Config/HPA
  2. See error in the orange triangle

Expected behavior
Trying to use actual api versions

Screenshots
image

Environment (please complete the following information):

  • Lens Version: 2022.12.201157
  • OS: Ubuntu 20.04.5 LTS
  • Installation method (e.g. snap or AppImage in Linux): deb package
@abalalaev abalalaev added the bug Something isn't working label Dec 22, 2022
@armujahid
Copy link

For me HPA v2 are showing but I am facing a slightly different issue #6827

@Nokel81
Copy link
Collaborator

Nokel81 commented Jan 3, 2023

Related to #6168 as well.

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

Successfully merging a pull request may close this issue.

4 participants