From e9f483808bed25ad9f216ed2b448837843d065b2 Mon Sep 17 00:00:00 2001 From: jornshen Date: Mon, 12 Oct 2020 16:14:11 +0800 Subject: [PATCH] =?UTF-8?q?Improve=20diagram=20for=20=E2=80=9CReserve=20Co?= =?UTF-8?q?mpute=20Resources=20for=20System=20Daemons=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reserve-compute-resources.md | 17 +----------- static/images/docs/node-capacity.svg | 27 +++++++++++++++++++ 2 files changed, 28 insertions(+), 16 deletions(-) create mode 100644 static/images/docs/node-capacity.svg diff --git a/content/en/docs/tasks/administer-cluster/reserve-compute-resources.md b/content/en/docs/tasks/administer-cluster/reserve-compute-resources.md index 4f00675c37..b6249f50ef 100644 --- a/content/en/docs/tasks/administer-cluster/reserve-compute-resources.md +++ b/content/en/docs/tasks/administer-cluster/reserve-compute-resources.md @@ -39,22 +39,7 @@ the kubelet command line option `--reserved-cpus` to set an ## Node Allocatable -```text - Node Capacity ---------------------------- -| kube-reserved | -|-------------------------| -| system-reserved | -|-------------------------| -| eviction-threshold | -|-------------------------| -| | -| allocatable | -| (available for pods) | -| | -| | ---------------------------- -``` +![node capacity](/images/docs/node-capacity.svg) `Allocatable` on a Kubernetes node is defined as the amount of compute resources that are available for pods. The scheduler does not over-subscribe diff --git a/static/images/docs/node-capacity.svg b/static/images/docs/node-capacity.svg new file mode 100644 index 0000000000..0bbacfade6 --- /dev/null +++ b/static/images/docs/node-capacity.svg @@ -0,0 +1,27 @@ + + + background + + + + + + + Layer 1 + + + + + + Node Capacity + kube-reserved + system-reserved + eviction-threshold + allocatable + (available for pods) + + + + + +