-
Improvement
-
Resolution: Not A Defect
-
Major
-
Docker: 17.04-ce
Linux: OpenSUSE
Jenkins: 2.111
Docker Swarm Plugin: 1.5
We have been using this plugin to dynamically provision our agents in a docker container for our builds. Everything has been working quite well so far! However, the is one small issue we're hitting - you can have unlimited jobs which request agents. This is an awesome feature, but our bare-metal cloud is definitely not unlimited so we eventually hit the limit to the machines every now and then.
Would it be possible to have a field in which you can set a global limit for the maximum amount of containers the swarm can handle? And when you get over the limit the plugin would wait until the running containers are below that number.