Skip to content

Commit edba6ff

Browse files
authored
Merge pull request #20622 from davivcgarcia/feature-15123
Clarify minimum cluster resource requirement for tasks
2 parents d76f75a + 2c9a9a6 commit edba6ff

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

content/en/docs/tasks/administer-cluster/manage-resources/cpu-constraint-namespace.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ in the namespace.
2020

2121
{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
2222

23-
Each node in your cluster must have at least 1 CPU.
23+
Your cluster must have at least 1 CPU available for use to run the task examples.
2424

2525
{{% /capture %}}
2626

@@ -204,11 +204,7 @@ Because your Container did not specify its own CPU request and limit, it was giv
204204
[default CPU request and limit](/docs/tasks/administer-cluster/cpu-default-namespace/)
205205
from the LimitRange.
206206

207-
At this point, your Container might be running or it might not be running. Recall that a prerequisite
208-
for this task is that your Nodes have at least 1 CPU. If each of your Nodes has only
209-
1 CPU, then there might not be enough allocatable CPU on any Node to accommodate a request
210-
of 800 millicpu. If you happen to be using Nodes with 2 CPU, then you probably have
211-
enough CPU to accommodate the 800 millicpu request.
207+
At this point, your Container might be running or it might not be running. Recall that a prerequisite for this task is that your cluster must have at least 1 CPU available for use. If each of your Nodes has only 1 CPU, then there might not be enough allocatable CPU on any Node to accommodate a request of 800 millicpu. If you happen to be using Nodes with 2 CPU, then you probably have enough CPU to accommodate the 800 millicpu request.
212208

213209
Delete your Pod:
214210

content/en/docs/tasks/configure-pod-container/assign-cpu-resource.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ allocated as much CPU as it requests.
1818

1919
{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
2020

21-
Each node in your cluster must have at least 1 CPU.
21+
Your cluster must have at least 1 CPU available for use to run the task examples.
2222

2323
A few of the steps on this page require you to run the
2424
[metrics-server](https://github.com/kubernetes-incubator/metrics-server)
@@ -122,9 +122,7 @@ Recall that by setting `-cpu "2"`, you configured the Container to attempt to us
122122
123123
{{< note >}}
124124
Another possible explanation for the CPU use being below 1.0 is that the Node might not have
125-
enough CPU resources available. Recall that the prerequisites for this exercise require each of
126-
your Nodes to have at least 1 CPU. If your Container runs on a Node that has only 1 CPU, the Container
127-
cannot use more than 1 CPU regardless of the CPU limit specified for the Container.
125+
enough CPU resources available. Recall that the prerequisites for this exercise require your cluster to have at least 1 CPU available for use. If your Container runs on a Node that has only 1 CPU, the Container cannot use more than 1 CPU regardless of the CPU limit specified for the Container.
128126
{{< /note >}}
129127
130128
## CPU units

0 commit comments

Comments
 (0)