From 2eda81c8052a22442364ef4166d7101caf8fc980 Mon Sep 17 00:00:00 2001 From: yatin Date: Fri, 4 Nov 2016 13:12:10 +0530 Subject: [PATCH] Add use of label 'swarm_strategy' in userguide Change-Id: Iae4d58e55de79707073d2214fed3beccb5bff570 Implements: blueprint add-support-different-strategy-in-swarmbay --- doc/source/userguide.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/source/userguide.rst b/doc/source/userguide.rst index bc5ed6ca1a..1f318b4b18 100644 --- a/doc/source/userguide.rst +++ b/doc/source/userguide.rst @@ -298,6 +298,10 @@ the table are linked to more details elsewhere in the user guide. +---------------------------------------+--------------------+---------------+ | `mesos_slave_executor_env_variables`_ | (file name) | "" | +---------------------------------------+--------------------+---------------+ +| `swarm_strategy`_ | - spread | spread | +| | - binpack | | +| | - random | | ++---------------------------------------+--------------------+---------------+ ======= @@ -1153,6 +1157,19 @@ Log into the servers You can log into the manager and node servers with the account 'fedora' and the keypair specified in the ClusterTemplate. +In addition to the common attributes in the ClusterTemplate, you can specify +the following attributes that are specific to Swarm by using the +labels attribute. + +_`swarm_strategy` + This label corresponds to Swarm parameter for master '--strategy'. + For more details, refer to the `Swarm Strategy + `_. + Valid values for this label are: + + - spread + - binpack + - random ===== Mesos