can mesos-dns + mesos + docker emulate kubernetes' style of service discovery?

2015-01-22 Thread Gallagher Polyn
Hi, My goal has been to develop multi-container docker applications locally and expect their seamless introduction to production environments (wow.) I have done a POC for my goal with fig and Kubernetes, and I enjoy that I can depend on standard service ip/port environment variables to be prese

Re: can mesos-dns + mesos + docker emulate kubernetes' style of service discovery?

2015-01-22 Thread craig mcmillan
we use the HAProxy configurator script bundled with marathon to bind applications to ports : https://github.com/mesosphere/marathon/blob/master/bin/haproxy-marathon-bridge HAProxy runs on every mesos slave and each marathon app is then available on every slave at the port(s) declared in the ma

Re: can mesos-dns + mesos + docker emulate kubernetes' style of service discovery?

2015-01-22 Thread Gallagher Polyn
> > we use the HAProxy configurator script bundled with marathon to bind > applications to ports : > > https://github.com/mesosphere/marathon/blob/master/bin/ > haproxy-marathon-bridge > > Given the foregoing, can mesos-dns + mesos (possibly, mesosphere’s >> marathon) + docker be configured to em

Re: can mesos-dns + mesos + docker emulate kubernetes' style of service discovery?

2015-01-22 Thread Emilien Kenler
Hello, https://github.com/Wizcorp/frontrunner is another solution you can use to configure your reverse proxy/load balancer. Instead of using a cronjob, the configuration will be updated when something changes in ZooKeeper. On Fri, Jan 23, 2015 at 4:32 AM, Gallagher Polyn wrote: > we use the

Re: can mesos-dns + mesos + docker emulate kubernetes' style of service discovery?

2015-01-24 Thread Gallagher Polyn
On Thu, Jan 22, 2015 at 1:05 PM, craig mcmillan wrote: > we use the HAProxy configurator script bundled with marathon to bind > applications to ports : > > https://github.com/mesosphere/marathon/blob/master/bin/ > haproxy-marathon-bridge > > HAProxy runs on every mesos slave and each marathon app

Re: can mesos-dns + mesos + docker emulate kubernetes' style of service discovery?

2015-01-25 Thread mccraig mccraig
iirc i just used netstat from a dash script (in the docker container) to get the gateway address, or used containers with --net=host, as appropriate :c On 24 Jan 2015, at 20:58, Gallagher Polyn wrote: On Thu, Jan 22, 2015 at 1:05 PM, craig mcmillan wrote: > we use the HAProxy configurator sc