Merge pull request #16425 from zombieleet/patch-1

doc: specify that `N` should be an odd number
This commit is contained in:
David Karlsson 2023-01-04 17:08:16 +01:00 committed by GitHub
commit 3ea359707d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -42,9 +42,8 @@ from the failure of a manager node without downtime.
* A three-manager swarm tolerates a maximum loss of one manager. * A three-manager swarm tolerates a maximum loss of one manager.
* A five-manager swarm tolerates a maximum simultaneous loss of two * A five-manager swarm tolerates a maximum simultaneous loss of two
manager nodes. manager nodes.
* An `N` manager cluster tolerates the loss of at most * An odd number `N` of manager nodes in the cluster tolerates the loss of at most `(N-1)/2` managers.
`(N-1)/2` managers. Docker recommends a maximum of seven manager nodes for a swarm.
* Docker recommends a maximum of seven manager nodes for a swarm.
>**Important Note**: Adding more managers does NOT mean increased >**Important Note**: Adding more managers does NOT mean increased
scalability or higher performance. In general, the opposite is true. scalability or higher performance. In general, the opposite is true.