Re:Docker Clustering Tools Compared: Kubernetes vs. Docker S...
by zeveb on Wednesday November 04, 2015 @12:32PM
(#10508115)
> Right now I am trying to figure out the best way to do service discovery and load balancing.
Or you could just kubernetes, which does them (mostly) right, right out of the box…
The way it works is that services are exposed as hostnames and environment variables; connexions to those hosts on certain ports are load-balanced to the actual backing services, transparently. It's really nice, and very Twelve-Factor-like.
Unfortunately it doesn't seem like an easy solution exists yet, but once it does I'm all in with Swarm.