From 328a2edaaf18129f18c0a9c1252df2117fe7acf9 Mon Sep 17 00:00:00 2001 From: Jerome Petazzoni Date: Fri, 17 Jan 2020 14:17:18 -0600 Subject: [PATCH] Add slide about number of nodes in a cluster --- slides/k8s/concepts-k8s.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/slides/k8s/concepts-k8s.md b/slides/k8s/concepts-k8s.md index 994f7ce8..2d07da54 100644 --- a/slides/k8s/concepts-k8s.md +++ b/slides/k8s/concepts-k8s.md @@ -199,6 +199,30 @@ class: extra-details class: extra-details +## How many nodes should a cluster have? + +- There is no particular constraint + + (no need to have an odd number of nodes for quorum) + +- A cluster can have zero node + + (but then it won't be able to start any pods) + +- For testing and development, having a single node is fine + +- For production, make sure that you have extra capacity + + (so that your workload still fits if you lose a node or a group of nodes) + +- Kubernetes is tested with [up to 5000 nodes](https://kubernetes.io/docs/setup/best-practices/cluster-large/) + + (however, running a cluster of that size requires a lot of tuning) + +--- + +class: extra-details + ## Do we need to run Docker at all? No!