Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50432

Global limit of maximum agents that can be dynamically allocated in a docker swarm

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Not A Defect
    • Icon: Major Major
    • docker-swarm-plugin
    • 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.

            surya548 surya gaddipati
            stodorov Steve Todorov
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: