mesoscloud / mesos-master

Mesos Master
https://hub.docker.com/r/mesoscloud/mesos-master/
MIT License
15 stars 16 forks source link

Difference between MESOS_HOSTNAME and MESOS_IP? #4

Open ghost opened 8 years ago

ghost commented 8 years ago

Can you explain - what is the difference between MESOS_HOSTNAME and MESOS_IP?

pdericson commented 8 years ago

@a93ushakov

from https://github.com/apache/mesos/blob/master/docs/configuration.md

--ip=VALUE IP address to listen on. This cannot be used in conjunction with --ip_discovery_command. (master default: 5050; slave default: 5051)
--hostname=VALUE The hostname the slave node should report, or that the master should advertise in ZooKeeper. If left unset, the hostname is resolved from the IP address that the master/slave binds to; unless the user explicitly prevents that, using --no-hostname_lookup, in which case the IP itself is used.

Note: MESOS_IP is the same as using --ip, MESOS_HOSTNAME is the same as using --hostname