@@ -178,7 +178,7 @@ kubectl get pod default-cpu-demo-2 --output=yaml --namespace=default-cpu-example
178
178
```
179
179
180
180
<!--
181
- The output shows that the Container 's CPU request is set to match its CPU limit.
181
+ The output shows that the container 's CPU request is set to match its CPU limit.
182
182
Notice that the container was not assigned the default CPU request value of 0.5 `cpu`:
183
183
-->
184
184
输出显示该容器的 CPU 请求和 CPU 限制设置相同。注意该容器没有被指定默认的 CPU 请求值 0.5 ` cpu ` :
@@ -248,7 +248,7 @@ it is helpful to have a default value in place for CPU limit.
248
248
Here are two of the restrictions that a CPU resource quota imposes on a namespace:
249
249
250
250
* For every Pod that runs in the namespace, each of its containers must have a CPU limit.
251
- * CPU request apply a resource reservation on the node where the Pod in question is scheduled.
251
+ * CPU limits apply a resource reservation on the node where the Pod in question is scheduled.
252
252
The total amount of CPU that is reserved for use by all Pods in the namespace must not
253
253
exceed a specified limit.
254
254
@@ -300,11 +300,11 @@ kubectl delete namespace default-cpu-example
300
300
<!--
301
301
### For cluster administrators
302
302
303
- * [Configure Default Memory Requests and Limits for a Namespace](/docs/tasks/administer-cluster/memory-default-namespace/)
304
- * [Configure Minimum and Maximum Memory Constraints for a Namespace](/docs/tasks/administer-cluster/memory-constraint-namespace/)
305
- * [Configure Minimum and Maximum CPU Constraints for a Namespace](/docs/tasks/administer-cluster/cpu-constraint-namespace/)
306
- * [Configure Memory and CPU Quotas for a Namespace](/docs/tasks/administer-cluster/quota-memory-cpu-namespace/)
307
- * [Configure a Pod Quota for a Namespace](/docs/tasks/administer-cluster/quota-pod-namespace/)
303
+ * [Configure Default Memory Requests and Limits for a Namespace](/docs/tasks/administer-cluster/manage-resources/ memory-default-namespace/)
304
+ * [Configure Minimum and Maximum Memory Constraints for a Namespace](/docs/tasks/administer-cluster/manage-resources/ memory-constraint-namespace/)
305
+ * [Configure Minimum and Maximum CPU Constraints for a Namespace](/docs/tasks/administer-cluster/manage-resources/ cpu-constraint-namespace/)
306
+ * [Configure Memory and CPU Quotas for a Namespace](/docs/tasks/administer-cluster/manage-resources/ quota-memory-cpu-namespace/)
307
+ * [Configure a Pod Quota for a Namespace](/docs/tasks/administer-cluster/manage-resources/ quota-pod-namespace/)
308
308
* [Configure Quotas for API Objects](/docs/tasks/administer-cluster/quota-api-object/)
309
309
-->
310
310
### 集群管理员参考
@@ -328,5 +328,3 @@ kubectl delete namespace default-cpu-example
328
328
* [ 为容器和 Pod 分配内存资源] ( /zh-cn/docs/tasks/configure-pod-container/assign-memory-resource/ )
329
329
* [ 为容器和 Pod 分配 CPU 资源] ( /zh-cn/docs/tasks/configure-pod-container/assign-cpu-resource/ )
330
330
* [ 为 Pod 配置服务质量] ( /zh-cn/docs/tasks/configure-pod-container/quality-service-pod/ )
331
-
332
-
0 commit comments