You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Alexander Gallego <ag...@concord.io> on 2016/04/14 16:08:18 UTC

How to get the web_ui to use --advertise_ip from the slaves

Hello,


I'm trying to get the web_ui to use the --advertise_ip to connect to
master's instead of the --hostname passed into the slaves.

running mesos 28

slaves run with a command like this:

mesos-slave --master=zk://xxx/mesos --advertise_ip=y.y.y.y
--containerizers=docker,mesos --hostname=tmp-mesos-slave-1 --ip=10.240.0.6

So when you hit sandbox, it connects to the --hostname.


Background:

I had been using ip (public) for --hostname which worked well for my
framework, but when launching spark on mesos, it requires the internal ip
for it to work on GCE.

Thanks!