-
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: stop scale loop for pause Scaledbject #4470
Conversation
The new test is failing, could you take a look? |
@JorTurFer sure thing. I'll take a look. |
/run-e2e internals |
@JorTurFer is there anything expected from me wrt the FOSS / build failures? Just checking. |
no, ignore this for now |
/run-e2e pause |
@tobotg seems like the e2e test is failing, could you please double check? https://github.com/kedacore/keda/blob/main/tests/internals/pause_scaling/pause_scaling_test.go |
sure thing. I'll have a look during the weekend. |
@zroubalik I tried to have a look, but can't find the detail of the test run that failed. Would you be able to help? Thanks |
You can see the execution log, clicking the link in the comment: |
@JorTurFer @zroubalik Thank you. |
Yes, go ahead. |
Could you rebase main too? There are changes required for executing e2e tests |
@JorTurFer it should be fine now I guess. But this test is failing now. Do you mind triggering the e2e to check what when wrong? Thanks |
/run-e2e |
/run-e2e |
/run-e2e pause_scaling |
/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.
@tobotg could you please make sure that the PR contain only your commits?
I ended up closing this and resubmitting a new PR. |
In the controller in the reconcile loop, when a scaledObject is paused (annotated with ), this fix stops the scaling logic (to prevent attempt to connect the to scalers), and deletes the generated HPA (so it is not querying KEDA Metric Server for metrics)
Checklist
Fixes #4253