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/
This commit is contained in:
committed by
Andrew Chen
parent
953fea1a35
commit
e8e2777854
@@ -232,7 +232,7 @@ you are doing [manual node administration](#manual-node-administration), then yo
|
|||||||
capacity when adding a node.
|
capacity when adding a node.
|
||||||
|
|
||||||
The Kubernetes scheduler ensures that there are enough resources for all the pods on a node. It
|
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
|
includes all containers started by the kubelet, but not containers started directly by Docker nor
|
||||||
processes not in containers.
|
processes not in containers.
|
||||||
|
|
||||||
@@ -249,7 +249,7 @@ spec:
|
|||||||
- name: sleep-forever
|
- name: sleep-forever
|
||||||
image: gcr.io/google_containers/pause:0.8.0
|
image: gcr.io/google_containers/pause:0.8.0
|
||||||
resources:
|
resources:
|
||||||
limits:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user