docker-archive / classicswarm

Swarm Classic: a container clustering system. Not to be confused with Docker Swarm which is at https://github.com/docker/swarmkit
Apache License 2.0
5.75k stars 1.08k forks source link

--enpoint-mode dnsrr service update failed due to port already use #2925

Closed paullaleu closed 4 years ago

paullaleu commented 5 years ago

Hi, We are curently trying to use docker swarm to achieve this architecture :

google cloud load balancer -> autoscaling group of VM compose of swarm worker node

The docker we try to run is nginx listening on port 80 We do not want to use network mesh because we already have a load-balancer (gcloud lb) in front of our swarm.

Everything works but the problem is we cannot simply update our service because swarm is unable to pop our new version of docker because it uses the same port 80.

if we keep the mesh system (--enpoint-mode vip) everything works but we have an unnecessary loadbalancing system (mesh network) inside our swarm that we do not want/need.

I can't find how updating a service is possible (without downtime) with --enpoint-mode dnsrr ?

justincormack commented 4 years ago

This repo is for classic swarm, not swarmkit (swarm mode).