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

Update description for no delay provisioning #479

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,44 @@
By default Jenkins do estimate load to avoid over-provisioning of cloud nodes.
With this option enabled, a new node is created on Amazon EC2 as soon as NodeProvisioner detects need for more agents.
In worse scenarios, this will results in some extra nodes provisioned on EC2, which will be shortly terminated. EC2
being billed by the second since 2017 this won't have a huge impact on infrastructure costs, while offering build nodes
without unnecessary delays.
<!--
The MIT License

Copyright (c) 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->
<div>
<p>
Jenkins avoids over-provisioning of cloud nodes by examining the
current load and deciding when more nodes are needed. Enable "No delay
provisioning" to create a new cloud node on Amazon EC2 as soon as the
NodeProvisioner detects a need for more agents.
</p>
<p>
<b>
This may cause Jenkins to create more cloud nodes than it needs to
serve the current jobs.
</b>
</p>
<p>
These nodes will be terminated if they remain idle longer than the
"idle termination time" setting. EC2 currently bills instances by the
second, so this option should not have a large impact on your AWS
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not completely right, Windows is still billed by the hour

bill. It will make cloud nodes available much more quickly for jobs
and should reduce delays.
</p>
</div>