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

Support docker 1.12 swarm mode

    XMLWordPrintable

Details

    Description

      Docker-slaves do start containers with a single docker endpoint. With docker-swarm, cluster is responsible to distribute on cluster. But with Docker 1.12 swarm mode this isn't the case anymore, and client has to create a service to get a comparable result.

      Attachments

        Activity

          I've been working with getting some Docker stuff set up in our teams' Jenkins infrastructure and for now you are best to use the Swarm Standalone version and not the new Docker Swarm Mode which uses services. This is because there is no way to currently remove a particular replica - the only option you have is to scale down the service which just seems to pick any container at random which means you can potentially kill off an active node.

          r2b2_nz Richard Bywater added a comment - I've been working with getting some Docker stuff set up in our teams' Jenkins infrastructure and for now you are best to use the Swarm Standalone version and not the new Docker Swarm Mode which uses services. This is because there is no way to currently remove a particular replica - the only option you have is to scale down the service which just seems to pick any container at random which means you can potentially kill off an active node.

          doesn't mean jenkins couldn't use multiple services each with a single instance to get the required functionality

          davidvanlaatum David van Laatum added a comment - doesn't mean jenkins couldn't use multiple services each with a single instance to get the required functionality

          People

            Unassigned Unassigned
            ndeloof Nicolas De Loof
            Votes:
            14 Vote for this issue
            Watchers:
            18 Start watching this issue

            Dates

              Created:
              Updated: