-
Notifications
You must be signed in to change notification settings - Fork 118
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
Update deprecated API version for HPA #402
Comments
rafvasq
changed the title
Update the Go for the latest Kubernetes version
Update Go for the latest Kubernetes version
Jul 18, 2023
rafvasq
changed the title
Update Go for the latest Kubernetes version
Update deprecated api version for HPA
Jul 19, 2023
rafvasq
changed the title
Update deprecated api version for HPA
Update deprecated API version for HPA
Jul 19, 2023
ckadner
added a commit
that referenced
this issue
Jul 20, 2023
The 'autoscaling/v2beta2' API for HPA was deprecated in Kubernetes version 1.23 and is no longer available in Kubernetes version 1.26. Changes: - Update Go code to use 'autoscaling/v2' - Use setup-envtest to force K8s v1.23+ for unit tests to ensure the 'autoscaling/v2' API is available - Update FVT to use Kubernetes version 1.26+ Closes #402 Signed-off-by: Rafael Vasquez <raf.vasquez@ibm.com> Signed-off-by: Christian Kadner <ckadner@us.ibm.com> Co-authored-by: Christian Kadner <ckadner@us.ibm.com>
ckadner
pushed a commit
that referenced
this issue
Jul 24, 2023
The 'autoscaling/v2beta2' API for HPA was deprecated in Kubernetes version 1.23 and is no longer available in Kubernetes version 1.26. Changes: - Update Go code to use 'autoscaling/v2' - Use setup-envtest to force K8s v1.23+ for unit tests to ensure the 'autoscaling/v2' API is available - Update FVT to use Kubernetes version 1.26+ Closes #402 Signed-off-by: Rafael Vasquez <raf.vasquez@ibm.com> Signed-off-by: Christian Kadner <ckadner@us.ibm.com> Co-authored-by: Christian Kadner <ckadner@us.ibm.com> (cherry picked from commit ef26b75)
ckadner
pushed a commit
that referenced
this issue
Jul 24, 2023
The 'autoscaling/v2beta2' API for HPA was deprecated in Kubernetes version 1.23 and is no longer available in Kubernetes version 1.26. Changes: - Update Go code to use 'autoscaling/v2' - Use setup-envtest to force K8s v1.23+ for unit tests to ensure the 'autoscaling/v2' API is available - Update FVT to use Kubernetes version 1.26+ Closes #402 Signed-off-by: Rafael Vasquez <raf.vasquez@ibm.com> Signed-off-by: Christian Kadner <ckadner@us.ibm.com> Co-authored-by: Christian Kadner <ckadner@us.ibm.com> (cherry picked from commit ef26b75)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As per #374, OpenShift v4.13 and K8s v1.26 don't include beta2 version of HPA:
Need to update minimum supported Kubernetes version to 1.23:
Originally posted by @ckadner in #374 (comment)
The text was updated successfully, but these errors were encountered: