-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat: Migrate to autoscalingv2 #3606
Conversation
1ca9d8e
to
f821bd6
Compare
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.
In the scaledobject_controller.go around line 133 you should check this as well:
Owns(&autoscalingv2beta2.HorizontalPodAutoscaler{}).
I haven't reviewed the whole PR yet.
Nice catch! Updated |
6bf1b09
to
7e9ae89
Compare
I have redone the PR with to migrate to v2 instead of supporting both. I'll prepare the PR to docs ASAP |
/run-e2e |
6974da8
to
ff89ecf
Compare
/run-e2e |
2a322ab
to
1dfcb1b
Compare
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.
Added some remarks but implementation is OK.
Would you mind sending a PR to update our Helm chart to enforce 1.23 or above please?
Did you verify that the new API version doesn't have breaking changes that impact us? (on the phone)
I'm not sure about enforce 1.23 in the chart because users can modify the tag so new chart could use old images. But maybe it doesn't make sense. I'll open it.
I have tried running the e2e/smoke test against clusters with autoscaling/v2 and they pass, I'd be nice if I had a k8s v1.26 but atm IDK how to test that :/ |
/run-e2e |
That's a valid point but think it's best to guide/force end-users that follow the usual path; if they need the latest chart it typically means they need a feature that is in 2.9. Otherwise they can use our current Helm chart.
I guess the breaking changes docs from Kubernetes but Iguess it's OK, no worries |
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
6596841
to
05f14a3
Compare
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl>
/run-e2e |
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
How does it look to you @tomkerkhove ? Can I merge it? |
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com> Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
* feat: migrate to autoscalingv2 Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es> Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Signed-off-by: Jorge Turrado jorge_turrado@hotmail.es
Provide a description of what has been changed
Checklist
Fixes #2462
Related to kedacore/charts#315