Skip to content
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

Ability to configure minimum number of executors, much like minimum number of nodes #440

Open
JamieBriersBullhorn opened this issue Apr 30, 2024 · 0 comments

Comments

@JamieBriersBullhorn
Copy link

JamieBriersBullhorn commented Apr 30, 2024

Is your feature request related to a problem? Please describe.
We have the plugin configured to always have 1 spare as this reduces the wait time for builds that need a new node, however, Jenkins is often assigning jobs to the spare, rather than using the spare executors on the other nodes. It would be nice to be able to configure the minimum number of executors, rather than nodes. Currently, the minimum spare size setting causes a new node to spin up as soon as ANY of the executors are in use on the other nodes.

Describe the solution you'd like
A config option for the minimum number of executors, that works very similar to the current minimum spare size setting. When the number of available executors falls below this value, a new node is spun up.

Describe alternatives you've considered
Trying to configure jenkins to assign new jobs to other executors before assigning to the spare, but so far no luck.

Additional context
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant