Rancher & Swarm

I have a question about the swarm environment in Rancher : What kind of service discovery to you use instead of consul ?
Because, in the swarm documentation of docker (docs.docker.com), swarm rely on consul (or etcd or zookeeper) to maintain all the nodes configuration. How do this work in Rancher?

Thank you