snippetMinor
How can I achieve better load balancing of different systems on a Jenkins?
Viewed 0 times
canhowjenkinssystemsachievebetterdifferentbalancingload
Problem
We have four test machines spread over a Jenkins.
We would like to have a better distribution. Example: If machine one is running with a test job, the second job should detect that node one is running and directly take the next free instance to start another job there.
I have not found a suitable plugin, instructions on this topic, which represents exactly this sufficient.
We would like to have a better distribution. Example: If machine one is running with a test job, the second job should detect that node one is running and directly take the next free instance to start another job there.
I have not found a suitable plugin, instructions on this topic, which represents exactly this sufficient.
Solution
The default behavior of Jenkins is to use the same node over and over unless it's unavailable. If you use labels you can target resources.
Take a look at plugins like Least Load and Scoring Load Balancer to help distribute the load. CloudBees also provides an Even Scheduler plugin as a commercial offering.
Kubernetes (e.g. Kubernetes Plugin) to schedule ephemeral agents could also satisfy your distribution needs.
Take a look at plugins like Least Load and Scoring Load Balancer to help distribute the load. CloudBees also provides an Even Scheduler plugin as a commercial offering.
Kubernetes (e.g. Kubernetes Plugin) to schedule ephemeral agents could also satisfy your distribution needs.
Context
StackExchange DevOps Q#6372, answer score: 2
Revisions (0)
No revisions yet.