mesos-dns
mesos-dns copied to clipboard
Using Custom Top-Level Domains for Mesos-DNS on AWS when masters are in an auto scaling group
Hello,
My question is around how to configure / identify all the mesos masters when they are in an auto scaling group running on AWS? Specifically, the "masters" parameter indicates that you need to enter the ip addresses of the master nodes. We could enter the current ip addresses of the master nodes but our concern is when / if there is a scaling event and a new master is added or a master node is taken away, we would need to update the config / restart the service. Is there a recommended approach for dealing with auto scaling in this case? Does the configuration have to identify all master nodes? Can it reference an elastic load balancer?
mesos-dns can use zookeeper to watch the set of masters in the cluster, treating the servers identified via the masters config param as a fallback