Re: Mesos-DNS host based HTTP-redirection from slave to container

2015-08-02 Thread Ryan Thomas
Yes it appears that mesos-dns does use SRV records - I should really check it out :) On 2 August 2015 at 10:50, Ryan Thomas wrote: > Hey Itamar, > > Using DNS to redirect to a port will only be possible if you're using SRV > records (I'm not sure what mesos-dns uses) but this doesn't really matt

Re: Mesos-DNS host based HTTP-redirection from slave to container

2015-08-02 Thread Ryan Thomas
Hey Itamar, Using DNS to redirect to a port will only be possible if you're using SRV records (I'm not sure what mesos-dns uses) but this doesn't really matter as it won't be looked up by the browser. For this solution I have a small daemon written in go running on a number of hosts (that aren't

Re: Mesos-DNS host based HTTP-redirection from slave to container

2015-08-02 Thread tommy xiao
mesos-dns store the app's IP and ports. so you can query the mesos-dns to setup a route rule to define the url. 2015-08-02 17:51 GMT+08:00 Ryan Thomas : > Yes it appears that mesos-dns does use SRV records - I should really check > it out :) > > On 2 August 2015 at 10:50, Ryan Thomas wrote: > >>

Re: Mesos-DNS host based HTTP-redirection from slave to container

2015-08-02 Thread Ryan Thomas
If you are going to be pulling data down yourself it would be better to do it from marathon, than mesos-dns as you will have additional data about the tasks available. On 2 August 2015 at 11:12, tommy xiao wrote: > mesos-dns store the app's IP and ports. so you can query the mesos-dns to > setup

Re: Is it possible to run mesos master/slave in private IP and exhibit mesos cluster status with public IP?

2015-08-02 Thread tommy xiao
mesosphere DCOS already implement, please have a look on it. 2015-07-28 18:54 GMT+08:00 craig w : > The mesos-slaves have their own UI separate from the master? If so, what's > the URL to get to it? I just tried http://:5051 and got a > blank page. > > On Tue, Jul 28, 2015 at 6:51 AM, Adam Bordel

How to measure the ZooKeeper Resilience on mesos cluster

2015-08-02 Thread tommy xiao
today i reading ZooKeeper Resilience at Pinterest ( https://engineering.pinterest.com/blog/zookeeper-resilience-pinterest?route=/post/%3Aid/%3Asummary), I feel the zookeeper is almost unstable for a cluster. Does anyone have some experience with the zookeeper usage? -- Deshi Xiao Twitter: xds2

Re: How to measure the ZooKeeper Resilience on mesos cluster

2015-08-02 Thread haosdent
>zookeeper is almost unstable for a cluster. If you use zookeeper in a correct way, I think it is stable enough for most scenarios. Zookeeper is used in a lot of distributed system and awesome. You could find more details about it in http://zookeeper.apache.org/doc/trunk/ On Mon, Aug 3, 2015 at 1: