clear up swarm sizes and manager+worker setups

Lot's of people will have ~5-10 servers, so let's give them more detailed info.
This commit is contained in:
Bret Fisher
2018-05-03 23:10:11 -04:00
committed by Jérôme Petazzoni
parent c058f67a1f
commit b1672704e8

View File

@@ -154,12 +154,14 @@ class: self-paced
try to break them down in multiple clusters
(keeping internal latency low)
- Groups of up to 9 nodes: all of them are managers
- Groups of 3 or 5 nodes: all of them are managers. Beyond 5, seperate out managers and workers.
- Groups of 10 nodes and up: pick 5 "stable" nodes to be managers
- Groups of 5-10 nodes: pick 3 "stable" nodes to be managers
<br/>
(Cloud pro-tip: use separate auto-scaling groups for managers and workers)
- Groups of 10-100 nodes: pick 5 "stable" nodes to be managers
- Groups of more than 100 nodes: watch your managers' CPU and RAM
- Groups of more than 1000 nodes:
@@ -181,11 +183,11 @@ class: self-paced
- Testing by the community: [4700 heterogeneous nodes all over the 'net](https://sematext.com/blog/2016/11/14/docker-swarm-lessons-from-swarm3k/)
- it just works
- it just works, assuming they have the resources
- more nodes require more CPU; more containers require more RAM
- more nodes require more manager CPU and Networking; more containers require more RAM
- scheduling of large jobs (70000 containers) is slow, though (working on it!)
- scheduling of large jobs (70,000 containers) is slow, though (working on it!)
---