Skip to content

Commit

Permalink
Update description for no delay provisioning
Browse files Browse the repository at this point in the history
Fix grammar and improve the explanation for the no delay provisioning
option.

Signed-off-by: Major Hayden <major@redhat.com>
  • Loading branch information
major committed Jul 9, 2020
1 parent e43e315 commit eb7b27c
Showing 1 changed file with 44 additions and 5 deletions.
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
bill. It will make cloud nodes available much more quickly for jobs
and should reduce delays.
</p>
</div>

0 comments on commit eb7b27c

Please sign in to comment.