-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Bump HorizontalPodAutoscaler apiVersion to v2 #5130
Conversation
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: afrittoli 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 |
/kind misc |
Alright, this fails because Bumping to /cc @imjasonh @afrittoli @abayer @tektoncd/core-maintainers See https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/ and https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ |
/hold |
/retest |
1 similar comment
/retest |
159da89
to
13b1396
Compare
/retest |
Alright, so I was wrong, it's not 1.22 that is required, but 1.23... 😅 |
In a gist, we need to bump our minimal k8s version to 1.23 to be able to support 1.25 🙃 |
It does require tektoncd/plumbing#1238 🙃 |
1.22 EOL is coming up on 2022-10-28 so bumping min to 1.23 makes sense 👍 |
/retest |
config/controller.yaml
Outdated
- name: KUBERNETES_MIN_VERSION | ||
value: v1.23.0 |
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.
Now that main
is on min version 1.23 already, this is not needed anymore.
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.
Removed 👼🏼
config/webhook.yaml
Outdated
- name: KUBERNETES_MIN_VERSION | ||
value: v1.23.0 |
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.
Ditto
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.
Removed 👼🏼
/lgtm |
Before this, we get a warning when applying the HPA: Warning: autoscaling/v2beta1 HorizontalPodAutoscaler is deprecated in v1.22+, unavailable in v1.25+; use autoscaling/v2 HorizontalPodAutoscaler This also bumps the min version to 1.23. Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
/hold cancel |
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
Changes
Before this, we get a warning when applying the HPA:
Signed-off-by: Vincent Demeester vdemeest@redhat.com
Closes #5128
Takes over #4896
/cc @afrittoli @abayer @imjasonh @lbernick @jerop @pritidesai
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes