This is an automated email from the ASF dual-hosted git repository.
bbannier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new ce801bd Fixed documentation on master fault domains.
ce801bd is described below
commit ce801bd6b3f56788eb4d3179959fa7290220432d
Author: Dominik Dary <[email protected]>
AuthorDate: Tue Sep 24 10:45:58 2019 +0200
Fixed documentation on master fault domains.
---
docs/fault-domains.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/fault-domains.md b/docs/fault-domains.md
index 08f13b5..1a48acc 100644
--- a/docs/fault-domains.md
+++ b/docs/fault-domains.md
@@ -33,9 +33,9 @@ agent node. The value of this flag must be a file path or a
JSON dictionary
with the key `fault_domain` and subkeys `region` and `zone` mapping to
arbitrary strings:
- mesos-master --domain='{"fault_domain": {"region": "eu", "zone": "rack1"}}'
+ mesos-master --domain='{"fault_domain": {"region": {"name":"eu"}, "zone":
{ "name":"rack1"}}}'
- mesos-agent --domain='{"fault_domain": {"region": "eu", "zone": "rack2"}}'
+ mesos-agent --domain='{"fault_domain": {"region": {"name":"eu"}, "zone":
{"name":"rack2"}}}'
Frameworks can learn about the domain of an agent by inspecting the `domain`
field in the received offer, which contains a `DomainInfo` that has the
@@ -103,4 +103,4 @@ updated so that they can schedule tasks in the cloud if
required.
Non-region aware frameworks will now only receive offers from agents within
the data center, where the master nodes reside. Region-aware frameworks are
supposed to know when and if they should place their tasks in the data center
-or with the cloud provider.
\ No newline at end of file
+or with the cloud provider.