As far as I tried last year, there was no support to use a docker swarm
cluster to serve as slaves.
The reason is once you start many slaves there is no way to tear down a
specific slave (after it's done with its build) in the new swarm mode, per
my understanding.
I switched to use kubernetes cluster, and it worked well.


On Fri, Mar 8, 2019, 7:49 AM Justin Seiser <[email protected] wrote:

> We just spun up a dedicated Docker Swarm environment.  I cant seem to find
> a clear answer on the best/preferred way to handle slaves in this style
> environment.
>
> docker-workflow - We use this in AWS, but with the EC2 Plugin, which spins
> up a AMI that has docker installed/configured. Thats not an option here.
> It only appears to semi support the Legacy Standalone swarm, not the actual
> Swarm Mode.
>
> docker-plugin - States it doesnt support Swarm mode, just legacy Swarm
> Standalone
>
> docker-swarm - This appears to be what I want, but there is 0
> documentation i can find on how to use it in pipelines.  It also isnt clear
> if this can run any docker container, or if it requires we build containers
> off of a JNLP enabled container.
>
> There are countless others listed as well.  Some wanting agents installed
> on the docker servers themselves, which is a no go in this environment.
>
> Im really just looking for how other people are handling this, and if it
> is the docker-swarm plugin, any link to any documentation on the pipeline
> syntax.
>
> Thanks,
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/72970f7f-dd0e-4760-bd00-ad9dfdfbc65e%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/72970f7f-dd0e-4760-bd00-ad9dfdfbc65e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAMRm5jaB%3DSnrY9e%3DpJGyEhdvn0pbZLMdRdd47OLfdJajRpyF-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to