Open tysonnorris opened 9 years ago
It is not currently possible to specify the datacenter. Mesos-consul registers with the agent running on the same node as the task. That agent's datacenter is where the service is registered. The Consul API doesn't allow specifying a data center when registering a service. In order to register the service in a specified datacenter the task would have to register with a Consul Agent running in that dc. That would result in the task being registered to the wrong host.
Document in wiki
I don't see any parameter for specifying datacenter to use for registering services - is this possible with current implementation?