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

Deprecated API for HPA in higher versions of Kubernetes (1.26+) #1710

Open
Boniker opened this issue Feb 8, 2024 · 0 comments
Open

Deprecated API for HPA in higher versions of Kubernetes (1.26+) #1710

Boniker opened this issue Feb 8, 2024 · 0 comments

Comments

@Boniker
Copy link

Boniker commented Feb 8, 2024

Describe the bug

Deprecated API for the kind: HorizontalPodAutoscaler in a newer versions of Kubernetes.

Expected behavior

Change from autoscaling/v2beta2 на apiVersion: autoscaling/v2
The best way is to make it variable according to the needs of users.

Steps to reproduce

Using kubernetes version higher than 1.26

Steps to take

apiVersion: {{ .Values.hpa.apiVersion | default "autoscaling/v2beta2" }}
or if you want to make it extensible to a kubernetes cluster, you can make it with the helm Capabilities
.Capabilities.KubeVersion.Version

Your environment

  • Space Cloud version: latest
  • OS: macOS
  • Kubernetes or Docker: 1.27
  • Browser (if applicable): 121.0.6167.85
@Boniker Boniker changed the title [Bug] Deprecated API for HPA in higher versions of Kubernetes (1.26+) Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant