traefik icon indicating copy to clipboard operation
traefik copied to clipboard

Support for backend services created in Docker swarm mode as --endpoint-mode dnsrr

Open bintut opened this issue 6 years ago • 7 comments

Do you want to request a feature or report a bug?

Feature

What did you expect to see?

I hope that traefik will support for backend services created in Docker swarm mode as --endpoint-mode dnsrr because with VIP, which is the default endpoint-mode, when creating services in Docker swarm mode, the load balancer feature in traefik does not make sense because it will only register the VIP address of the Docker service. This is also not to mention that we also want to migrate all our Docker services from VIP to DNSRR. This is the only feature we are waiting before we can deploy traefik to production environment and use DNSRR endpoint mode in all our Docker services.

bintut avatar May 08 '18 13:05 bintut

For reference, https://github.com/containous/traefik/issues/1494

bintut avatar May 08 '18 14:05 bintut

I wonder if this feature request has already been included on the upcoming 1.8 milestone.

bintut avatar Aug 15 '18 13:08 bintut

I'll be the bearer of bad news, but this feature is currently not on the next milestone roadmap. We'll update the issue as soon as we can provide an ETA.

geraldcroes avatar Aug 16 '18 14:08 geraldcroes

Any fresh news on this feature? Thanks

kumy avatar Nov 20 '19 09:11 kumy

This seems to work for me with the latest version of traefik and docker.

clintmod avatar Apr 06 '21 16:04 clintmod

It seems to work but I believe it does not. I'm experiencing that the IP does not update and suddenly when the service is redeployed, traefik cannot contact it. Please add a solution, having only VIP endpoints is not an option for most use cases where services are replicated and yet you need to sync up those services.

xavs avatar Aug 06 '21 07:08 xavs

Is this still an issue? Does it mean that basically we can't use dnsrr for services exposed to traefik?

Rush avatar Feb 14 '24 21:02 Rush