keda
keda copied to clipboard
add new a filed InitialDelayCooldownPeriod delay the effective time…
… of CooldownPeriod
·Add a new field InitialDelayCooldownPeriod The purpose of adding a new field InitialDelayCooldownPeriod is to delay the effective time of the CooldownPeriod, so that when the service is started for the first time, it needs to wait for the time of InitialDelayCooldownPeriod to expire before destroying the service.
Checklist
- [ ] When introducing a new scaler, I agree with the scaling governance policy
- [ ] I have verified that my change is according to the deprecations & breaking changes policy
- [ ] Tests have been added
- [ ] Changelog has been updated and is aligned with our changelog requirements
Fixes https://github.com/kedacore/keda/issues/5008
Relates to #
Hi, @JorTurFer is this PR getting merged anytime soon? Our current workaround for handling the delay at the time of deployment is causing challenges. This feature will be very helpful for many of our use cases.
Hi, @JorTurFer is this PR getting merged anytime soon? Our current workaround for handling the delay at the time of deployment is causing challenges. This feature will be very helpful for many of our use cases.
I hope so, but the feature isn't ready to merge yet because test coverage is required. IDK the state of it, @xrwang8 ?
I've added e2e testing. @JorTurFer
What's wrong with that now @JorTurFer
Hi @JorTurFer , could you plz. check this PR. E2E test has been added by @xrwang8
/run-e2e initial_delay_cooldownperiod Update: You can check the progress here
Hi @JorTurFer , could you plz. check this PR. E2E test has been added by @xrwang8
Sorry, I've been quite disconnected :( I have left some comments inline. Apart from them ,we need to fix DCO check for merging the PR, you can find the steps to fix it in the check itself
I have simplified e2e @JorTurFer
/run-e2e internal Update: You can check the progress here
Could you open a PR against docs repo too, adding this new parameter to the ScaledObject docs?
Could you open a PR against docs repo too, adding this new parameter to the ScaledObject docs?
ok
I have modified the document https://github.com/kedacore/keda-docs/pull/1337 @JorTurFer
I have modified the document kedacore/keda-docs#1337 @JorTurFer
Let me check them, sorry for the delay... last week was KubeCon EU
LGTM! Could you add a record in changelog.md file too? I think that #New section is the best place for this feature
i hava already done @JorTurFer
/run-e2e internal Update: You can check the progress here
@zroubalik PTAL
What is the current status of this PR? @JorTurFer
What is the current status of this PR?
It's ready to merge IMHO, but I'd like to read @zroubalik thoughts too :)
Hey! @zroubalik , could you please take a look at this. This will save a bit of development for us. Thank you. cc: @JorTurFer
@zroubalik done
/run-e2e internals Update: You can check the progress here
@JorTurFer can it be merged ?