You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -190,8 +197,9 @@ View detailed information about the Pod:
190
197
kubectl get pod constraints-cpu-demo-4 --namespace=constraints-cpu-example --output=yaml
191
198
```
192
199
193
-
The output shows that the Pod's Container has a CPU request of 800 millicpu and a CPU limit of 800 millicpu.
194
-
How did the Container get those values?
200
+
The output shows that the Pod's single container has a CPU request of 800 millicpu and a
201
+
CPU limit of 800 millicpu.
202
+
How did that container get those values?
195
203
196
204
```yaml
197
205
resources:
@@ -201,11 +209,12 @@ resources:
201
209
cpu: 800m
202
210
```
203
211
204
-
Because your Container did not specify its own CPU request and limit, it was given the
212
+
Because that container did not specify its own CPU request and limit, the control plane
213
+
applied the
205
214
[default CPU request and limit](/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace/)
206
-
from the LimitRange.
215
+
from the LimitRange for this namespace.
207
216
208
-
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.
217
+
At this point, your Pod 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.
0 commit comments