2.16 Control the number of manager nodes in a swarm

Information

Ensure that the minimum number of required manager nodes is created in a swarm.Manager nodes within a swarm have control over the swarm and change its configuration
modifying security parameters. Having excessive manager nodes could render the swarm
more susceptible to compromise.If fault tolerance is not required in the manager nodes, a single node should be elected as
a manger. If fault tolerance is required, then the smallest practical odd number to achieve
the appropriate level of tolerance should be configured.
NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

If an excessive number of managers is configured, the excess can be demoted as worker
using the following command-docker node demote <ID>Where <ID> is the node ID value of the manager to be demoted.Impact-NoneDefault Value-A single manager is all that is required to start a given cluster.

See Also

https://workbench.cisecurity.org/files/517

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b.

Plugin: Unix

Control ID: 43b18d5ac93f89a002ce8510c3dc30c1de876e4b25f3571f32ace4916595ee69