From e8e27778545b121be778bad3bd112a52aaf0b1cd Mon Sep 17 00:00:00 2001 From: Stuart Grice Date: Tue, 11 Jul 2017 10:48:07 +1000 Subject: [PATCH] Update how resources are schedule This page's description of resource scheduling conflicts with the definition on the page below. https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ --- docs/concepts/architecture/nodes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/concepts/architecture/nodes.md b/docs/concepts/architecture/nodes.md index 38441b3ca5..9cd54bfeac 100644 --- a/docs/concepts/architecture/nodes.md +++ b/docs/concepts/architecture/nodes.md @@ -232,7 +232,7 @@ you are doing [manual node administration](#manual-node-administration), then yo capacity when adding a node. The Kubernetes scheduler ensures that there are enough resources for all the pods on a node. It -checks that the sum of the limits of containers on the node is no greater than the node capacity. It +checks that the sum of the requests of containers on the node is no greater than the node capacity. It includes all containers started by the kubelet, but not containers started directly by Docker nor processes not in containers. @@ -249,7 +249,7 @@ spec: - name: sleep-forever image: gcr.io/google_containers/pause:0.8.0 resources: - limits: + requests: cpu: 100m memory: 100Mi ```