Skip to content

Commit 808dfd4

Browse files
authored
Merge pull request #25554 from guzj11/patch-16
Update cpu-default-namespace.md
2 parents b4b4820 + 7e998a7 commit 808dfd4

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

content/zh/docs/tasks/administer-cluster/manage-resources/cpu-default-namespace.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,23 @@ it can be allowed to run in a namespace that is restricted by a quota.
231231

232232
如果容器没有声明自己的 CPU 限制,将会给它一个默认限制,这样它就能被允许运行在一个有配额限制的命名空间中。
233233

234+
<!--
235+
## Clean up
236+
237+
Delete your namespace:
238+
239+
```shell
240+
kubectl delete namespace default-cpu-example
241+
```
242+
-->
243+
## 清理
244+
245+
删除你的命名空间:
246+
247+
```shell
248+
kubectl delete namespace constraints-cpu-example
249+
```
250+
234251
## {{% heading "whatsnext" %}}
235252

236253
<!--
@@ -263,6 +280,6 @@ it can be allowed to run in a namespace that is restricted by a quota.
263280

264281
* [为容器和 Pod 分配内存资源](/zh/docs/tasks/configure-pod-container/assign-memory-resource/)
265282
* [为容器和 Pod 分配 CPU 资源](/zh/docs/tasks/configure-pod-container/assign-cpu-resource/)
266-
* [为 Pod 配置 Service 数量](/zh/docs/tasks/configure-pod-container/quality-service-pod/)
283+
* [为 Pod 配置服务质量](/zh/docs/tasks/configure-pod-container/quality-service-pod/)
267284

268285

0 commit comments

Comments
 (0)