-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add scaleup step size feature (#132)
* Replace Duration document because of an expired link * Add scaleup parameters to crd-reference * [WIP] Implement scaleup * fmt * Add scaleup interval test * fix * add generated deepcopy * fix * Update api/v1beta1/spannerautoscaler_types.go Co-authored-by: Junichiro Takagi <t.junichiro@gmail.com> * Update docs/crd-reference.md Co-authored-by: Junichiro Takagi <t.junichiro@gmail.com> * Update api/v1beta1/spannerautoscaler_webhook.go Co-authored-by: tkuchiki <kuchiki.taku@gmail.com> * Fix scaleup when default value * Fix scaleupInterval logic * Fix scaleupInterval default * Update cmd/main.go Co-authored-by: tkuchiki <kuchiki.taku@gmail.com> * Update cmd/main.go Co-authored-by: tkuchiki <kuchiki.taku@gmail.com> * Update internal/controller/spannerautoscaler_controller_test.go Co-authored-by: Junichiro Takagi <t.junichiro@gmail.com> * Update internal/controller/spannerautoscaler_controller.go Co-authored-by: Ravi <1299606+rustycl0ck@users.noreply.github.com> * Update internal/controller/spannerautoscaler_controller_test.go Co-authored-by: Ravi <1299606+rustycl0ck@users.noreply.github.com> * Set default `ScaleUpInterval` as 10 seconds * Fix small * Set default `ScaleUpInterval` as 60 seconds * Fix suStepSize validation * Fix test if scaledown and scaleup intervals function works * Fix default value of scaleupStepSize in scaledownStepSize test * Make test for getOrConvertTimeDuration simple * Remove no required setup block * Update cmd/main.go Co-authored-by: Ravi <1299606+rustycl0ck@users.noreply.github.com> * Fix ScaleupStepSize test --------- Co-authored-by: Junichiro Takagi <t.junichiro@gmail.com> Co-authored-by: tkuchiki <kuchiki.taku@gmail.com> Co-authored-by: Ravi <1299606+rustycl0ck@users.noreply.github.com>
- Loading branch information
1 parent
fea99fb
commit 82ac424
Showing
8 changed files
with
154 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.