-
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
Fix returns unmatched error when updating hpa object failed #2677
Conversation
03c6bdd
to
1c893b2
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.
Looking good! Could you please create a short issue and link it here in the PR, so we can track it properly? And could you please update Changelog as well? Thanks
1c893b2
to
57fabef
Compare
@zroubalik OK. I've created an issue and updated the change log. |
/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.
Looking good, just a nit in Changelog
/run-e2e |
@Shitaibin could you please rebase and update this PR, we have some changes in e2e tests in the |
57fabef
to
1c826dc
Compare
/run-e2e |
…#2719) Signed-off-by: shitaibin <hz_stb@163.com>
1c826dc
to
dba5bff
Compare
/run-e2e |
@zroubalik it seems the e2e has not been triggered. Anything wrong? BTW, I recently read KEAD codes and ran the examples. I have a question. Could you answer it for me. Thanks. I didn't figure out how the scale controller and hpa controller modify the same scale sub resource at the same time, when the scale trigger is inactive. Why hpa didn't reset the replica of workload to min repilca after scale controller set the replica to 0? |
Only maintainers could start e2e, I'll do that.
HPA Controller pauses scaling if min replica is set to 0 (on HPA). |
/run-e2e |
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
…#2677) Signed-off-by: shitaibin <hz_stb@163.com> Co-authored-by: Zbynek Roubalik <zroubalik@gmail.com> Signed-off-by: Ram Cohen <ram.cohen@gmail.com>
In updateHPAIfNeeded, it should return error of update hpa object not newHPAForScaledObject, if updating failed.
Checklist
Fixes #2719