-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
feat: add MaxGrowthRate
to limit the number of instances added in parallel
#962
feat: add MaxGrowthRate
to limit the number of instances added in parallel
#962
Conversation
Hey @rohaquinlop! 👋 Thank you for your contribution to the project. Please refer to the contribution rules for a quick overview of the process. Make sure that this PR clearly explains:
With submitting this PR you confirm that you hold the rights of the code added and agree that it will published under this LICENSE. The following ChatOps commands are supported:
Simply add a comment with the command in the first line. If you need to pass more information, separate it with a blank line from the command. This message was generated automatically. You are welcome to improve it. |
Hi @npalm @kayman-mk, A peer review here would be greatly appreaciated! 🙏🏽 |
Seems that the formatting is broken. Could you please run a |
Looks good at first hand. But I would prefer not to mention this parameter in the examples as it is quite specific and an advanced configuration. |
712241e
to
7a45a06
Compare
@kayman-mk already added your suggestions, thanks in advance for your help! |
Did you test the change without specifying the |
align `versions.tf` with lock file
@kayman-mk No, I was trying to test it but I don't understand completely the documentation. I'm still trying to figure out how to run the tests. |
If you are talking about the |
Ok, just checked, that the parameter is set as expected. Works fine. |
…scaling parameters.
MaxGrowthRate
to limit the number of instances added in parallel
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.
Good job! Thanks for adding this feature.
🤖 I have created a release *beep* *boop* --- ## [7.1.0](7.0.0...7.1.0) (2023-09-28) ### Features * add `MaxGrowthRate` to limit the number of instances added in parallel ([#962](#962)) ([ae6d38a](ae6d38a)) ### Bug Fixes * convert the fleet instance type in migration script ([#975](#975)) ([51b2842](51b2842)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Signed-off-by: Niek Palm <[email protected]> Co-authored-by: cattle-ops-releaser-2[bot] <134548870+cattle-ops-releaser-2[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@kayman-mk Thank you so much for all the help! |
Description
This feature allows to support
MaxGrowthRate
which limits the number of instances added in parallel by the Runner. The default of0
(unlimited) is used if no value is given.The parameter is added to
runner_worker_docker_machine_instance
as this is the only Runner type for which it makes sense. All other types are not able to scale and thus it is not arunner_worker
parameter.See advanced-configuration
Closes #851
Migrations required
NO
Verification
MaxGrowthRate
in config file is 0.MaxGrowthRate
in config file is "any value"