Why jenkins doesn't assign jobs to an agent with more resources

35 views
Skip to first unread message

chencho m-a

unread,
Mar 27, 2022, 4:30:11 AM3/27/22
to Jenkins Users
Hi all, 

I have a cluster with 20 agents, all of them are able to run 8-9 dockers. In my understanding after installing "least load" plugin, it should take agent1-docker1 and then, agent2-docker1 but why i am seeing is that it is using agent1-docker1, agent1-docker2. So I have a node overloaded and 19 more doing nothing. 

Any clue?

John Patrick

unread,
Mar 30, 2022, 5:50:51 PM3/30/22
to jenkins...@googlegroups.com
Hi,
Some basic questions;
- what Jenkins version?
- has it ever work for you?
- you mention 8-9 dockers per agent, is that being controlled using "Number of executors" being set for each agent?

John



--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/49b2c7f4-139a-4c18-b03d-f2900dcc8717n%40googlegroups.com.

chencho m-a

unread,
Mar 31, 2022, 5:20:58 AM3/31/22
to Jenkins Users
Inline

El miércoles, 30 de marzo de 2022 a las 23:50:51 UTC+2, nhoj.p...@gmail.com escribió:
Hi,
Some basic questions;
- what Jenkins version?
2.319.3 (now), but I have been tested several versions 
- has it ever work for you?
No. Even with least-load plugin 
- you mention 8-9 dockers per agent, is that being controlled using "Number of executors" being set for each agent?
I have 1 executor per agent, and I set the amount of dockers running in the setup of the plugin (docker-plugin) 

NOTE: I have compiled manually with this proposal PR (not merged due to some issues not related with the code)

And seems to work fine.
Reply all
Reply to author
Forward
0 new messages