-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
HPA: bump apiVersion to v2 for defaultBackend #9731
HPA: bump apiVersion to v2 for defaultBackend #9731
Conversation
Welcome @dohoangkhiem! |
Hi @dohoangkhiem. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@dohoangkhiem I think https://github.com/kubernetes/ingress-nginx/pull/9348/files should have taken care of the default-backend template as well but did not so thanks for this fix. But @tao12345666333 needs to review this and if clean, then this should get merged sooner than later because K8S latest release is v1.26 already so as per policy to support current + 2 previous releases, its time to move to /triage accepted |
@longwuyuan: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/priority important-soon |
@dohoangkhiem did you create an issue also for the problem you faced. It will help if you create a issue for the problem you faced and add details there. Then link that issue here |
cc @tao12345666333 seeking review on this as deprecated HPA api version is hardcoded in default-backend template and seems to be breaking installs on K8S v1.25.X |
ci job failed |
checking |
@dohoangkhiem how did you create the helm chart README ? You can not edit the helm chart README manually. You have to edit the values file and use helm-docs to generate the helm chart README in your fork+clone lcoally. Then you have to check in the locally modified values file and README. |
74a8f4a
to
361be7e
Compare
/ok-to-test |
Thanks @longwuyuan for guiding, yes I updated the README and linked a related issue. |
@dohoangkhiem this is a important fix because of the hardcoding so thanks for the PR. Whenever you get a chance, please help by adding details like I mentioned. As you can see in the linked issue, one user experienced failed install of controller with default-backend HPA api version error (using terraform helm). Similarly it will help to get details of how you came to know this problem and what were the precise scene and use case to discover this problem. Then link that issue here |
@tao12345666333 CI passed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Thanks
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dohoangkhiem, tao12345666333 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
autoscaling/v2beta2 HorizontalPodAutoscaler is deprecated in v1.23+, unavailable in v1.26+; use autoscaling/v2 HorizontalPodAutoscaler
We had a hardcode
apiVersion: autoscaling/v2beta1
in default-backend-hpa.yamlTypes of changes
Which issue/s this PR fixes
fixes #9728
How Has This Been Tested?
Checklist: