Comments (3)
Jenkins :
Executors: 6
Target capacity : 2
Min size : 0
Max size : 2
Spot Fleet : (m4.large , m5.large) When a job is scheduled in jenkins 2 instances are created . But that job may not require two instance . I am confused about this behavior .
- Is is supposed to spin just 1 instance at first and scale up/down based on demand. ?
- Does it has to do with Executor set to 6 ?
from ec2-fleet-plugin.
hi @ebalakumar
Below logic to scale up, code here
- jenkins job scheduled
- jenkins requests plugin for
X
executors (depends on jenkins not plugin, you probably can check if you have multi/parallel job which could require more then one executor) - plugin calculates amount of additional nodes, as requested number of executors devided by
executors
setting - plugin updates fleet
targetCapacity
- create required amount of nodes in jenkins
Based on that and your numbers, and assume jenkins requrested <7
, it should request only one node
You can check jenkins logs for Provisioning nodes. Excess workload
what plugin decided internally
from ec2-fleet-plugin.
I am assuming your question was answered. If not, please let us know.
from ec2-fleet-plugin.
Related Issues (20)
- Minimum Cluster Size = 0 will not spawn any agent HOT 20
- Build node workspace permissions
- Unable to set label on node caused by NullPointerException HOT 1
- Update constructor to follow CasC best practices
- Scale-in Protection always enable HOT 3
- 3.10.0 does not assume role from credentials
- Upgrading 3.0.1 to 3.1.0 deleted cloud configuration HOT 11
- Complete removal of data about the Executors structure 3.0.2 --> 3.1.0 HOT 2
- NoDelayProvisionStrategy won't provision after scaling down to 0 instances in auto scaling group HOT 10
- Cloud is null for computer unknown HOT 1
- EC2 Fleet label based cloud cannot create node
- EC2 ASG agents are not assgined to Jenkins fleet tags - Error during fleet '<fleet_name>' stats update java.lang.NullPointerException HOT 11
- Protected From Scale In HOT 4
- Instance are not shutting down due to "Protection from scale In" HOT 4
- Waiting for next available executor on βtest i-123456789 HOT 4
- jenkins connect with ipv6 HOT 1
- jenkins connect with ipv6
- EC2 Fleet with AutoScaling Group receives scale-down request prematurely HOT 1
- jnlp connection?
- Agent root directories cannot be on different drives other than C: when using Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ec2-fleet-plugin.