-
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
scale to zero with cpu/mem scaler #4346
Conversation
6c8efb3
to
6749faf
Compare
/run-e2e cpu* |
try running the test again pls 🙏 Ive finalized it |
/run-e2e cpu* |
e54ee86
to
f102fff
Compare
/run-e2e cpu* |
/run-e2e memory* |
sorry i had to redo the tests a few times, example-hpa image doesnt work for me in ocp for some reason when im trying to test it so im doing it kind of blind. It should be fixed now, if you could please run both tests again 🙏 |
/run-e2e memory* |
/run-e2e cpu* |
31c224c
to
33fedf4
Compare
/run-e2e cpu* Update: You can check the progress here |
/run-e2e cpu* |
/run-e2e memory* Update: You can check the progress here |
/run-e2e memory* Update: You can check the progress here |
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 test output I can read:
No test has been executed, please review your regex: 'memory*
it is strange though 🤷♂️
/run-e2e memory* |
It looks like there was some whitespace characters (newlines?) after the |
Yeah, it's a known bug that we forget from time to time xD |
33fedf4
to
18c9800
Compare
Jorge has to always remind me about this because I'm sloppy - Sorry! |
ab7d6ff
to
4b5d96c
Compare
/run-e2e cpu* |
Signed-off-by: gauron99 <fridrich.david19@gmail.com>
Signed-off-by: gauron99 <fridrich.david19@gmail.com>
Signed-off-by: gauron99 <fridrich.david19@gmail.com>
Signed-off-by: gauron99 <fridrich.david19@gmail.com>
4a06999
to
682d848
Compare
/run-e2e memory* |
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!
/run-e2e memory* |
I'll check this during the day |
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. Some comments inline
Signed-off-by: gauron99 <fridrich.david19@gmail.com>
/run-e2e memory* |
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!
Signed-off-by: gauron99 <fridrich.david19@gmail.com>
add option to scale to zero with cpu/mem triggers when:
if SO has no external triggers, only cpu/mem triggers AND minReplicas is not set or is 0 - return error in so creation/validation
Checklist
(https://github.com/kedacore/governance/blob/main/SCALERS.md)
docs PR: kedacore/keda-docs#1088
Fixes #4269