Add use of label 'swarm_strategy' in userguide
Change-Id: Iae4d58e55de79707073d2214fed3beccb5bff570 Implements: blueprint add-support-different-strategy-in-swarmbay
This commit is contained in:
parent
71ce4851e4
commit
2eda81c805
@ -298,6 +298,10 @@ the table are linked to more details elsewhere in the user guide.
|
|||||||
+---------------------------------------+--------------------+---------------+
|
+---------------------------------------+--------------------+---------------+
|
||||||
| `mesos_slave_executor_env_variables`_ | (file name) | "" |
|
| `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
|
You can log into the manager and node servers with the account 'fedora' and
|
||||||
the keypair specified in the ClusterTemplate.
|
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
|
||||||
|
<https://docs.docker.com/swarm/scheduler/strategy/>`_.
|
||||||
|
Valid values for this label are:
|
||||||
|
|
||||||
|
- spread
|
||||||
|
- binpack
|
||||||
|
- random
|
||||||
|
|
||||||
=====
|
=====
|
||||||
Mesos
|
Mesos
|
||||||
|
Loading…
Reference in New Issue
Block a user