Skip to content

Commit b0e74db

Browse files
authored
Merge pull request #55479 from sheriff-rh/issue-53512
2 parents d0c5a30 + 351eda9 commit b0e74db

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

modules/compliance-scheduling-pods-with-resource-requests.adoc

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
:_content-type: CONCEPT
66
[id="compliance-scheduling-pods-with-resource-requests_{context}"]
7-
= Scheduling Pods with resource requests
7+
= Scheduling Pods with container resource requests
88

99
When a Pod is created, the scheduler selects a Node for the Pod to run on. Each node has a maximum capacity for each resource type in the amount of CPU and memory it can provide for the Pods. The scheduler ensures that the sum of the resource requests of the scheduled containers is less than the capacity nodes for each resource type.
1010

@@ -22,12 +22,9 @@ spec.containers[].resources.requests.memory
2222
spec.containers[].resources.requests.hugepages-<size>
2323
----
2424

25-
[NOTE]
26-
====
27-
Although you can specify requests and limits for only individual containers, it is also useful to consider the overall resource requests and limits for a pod. For a particular resource, a pod resource request or limit is the sum of the resource requests or limits of that type for each container in the pod.
28-
====
25+
Although you can specify requests and limits for only individual containers, it is also useful to consider the overall resource requests and limits for a pod. For a particular resource, a container resource request or limit is the sum of the resource requests or limits of that type for each container in the pod.
2926

30-
.Example Pod resource requests and limits
27+
.Example container resource requests and limits
3128
[source,yaml]
3229
----
3330
apiVersion: v1
@@ -55,5 +52,5 @@ spec:
5552
memory: "128Mi"
5653
cpu: "500m"
5754
----
58-
<1> The Pod is requesting 64 Mi of memory and 250 m CPU.
59-
<2> The Pod's limits are defined as 128 Mi of memory and 500 m CPU.
55+
<1> The container is requesting 64 Mi of memory and 250 m CPU.
56+
<2> The container's limits are 128 Mi of memory and 500 m CPU.

0 commit comments

Comments
 (0)