mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
Merge pull request #3853 from hashicorp/docs-datacenter-faq
Clarify Nomad dc vs Consul dc
This commit is contained in:
@@ -26,3 +26,18 @@ a [gossip protocol](/docs/internals/gossip.html). The consensus protocol is stro
|
||||
consistent, and is used for all state replication and scheduling. The gossip protocol
|
||||
is used to manage the addresses of servers for automatic clustering and multi-region
|
||||
federation. This means all data that is managed by Nomad is strongly consistent.
|
||||
|
||||
## Q: Is Nomad's `datacenter` parameter the same as Consul's?
|
||||
|
||||
No. For those familiar with Consul, [Consul's notion of a
|
||||
datacenter][consul_dc] is more equivalent to a [Nomad region][nomad_region].
|
||||
Nomad supports grouping nodes into multiple datacenters, which should reflect
|
||||
nodes being colocated, while being managed by a single set of Nomad servers.
|
||||
|
||||
Consul on the other hand does not have this two-tier approach to servers and
|
||||
agents and instead [relies on federation to create larger logical
|
||||
clusters][consul_fed].
|
||||
|
||||
[consul_dc]: https://www.consul.io/docs/agent/options.html#_datacenter
|
||||
[consul_fed]: https://www.consul.io/docs/guides/datacenters.html
|
||||
[nomad_region]: /docs/agent/configuration/index.html#datacenter
|
||||
|
||||
Reference in New Issue
Block a user