You can use the ScoringLoadBalabcer plugin:
https://plugins.jenkins.io/scoring-load-balancer/

Design yourself a good labels schema.

Great blog post on that here:
https://www.avantica.com/blog/jenkins-balance-load-master-slave-setup

On Tue, Jul 6, 2021 at 12:46 AM Fabian Cenedese <cened...@indel.ch> wrote:

> Hello
>
> I have two nodes that are configured exactly the same.
> The second one was added to get more throughput. But it
> is not used if not necessary.
> Example: Node 1 is running a job. Then I start another job.
> Jenkins will also run it on Node 1 (with 2 executors). Only
> if I run more than two jobs will Jenkins run them on Node 2.
> However even with just two jobs they could be evenly
> distributed over the available nodes to make use of the
> CPU power. Both nodes are configured "use as much as
> possible".
>
> How can I configure the nodes or jobs so they make use
> of as many nodes as possible, balancing the load over
> all nodes?
>
> Thanks
>
> bye  Fabi
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/20210706074612.AEB7646CD266%40macserver.private
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO1vCWGCY%2BODGjWi9pkJJn%2BUEDhsmq8ep6i2tAEPdHiWw3zq9w%40mail.gmail.com.

Reply via email to