Merge pull request #25554 from guzj11/patch-16

Update cpu-default-namespace.md
pull/25663/head
Kubernetes Prow Robot 2020-12-16 04:32:21 -08:00 committed by GitHub
commit 808dfd432d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 1 deletions

View File

@ -231,6 +231,23 @@ it can be allowed to run in a namespace that is restricted by a quota.
如果容器没有声明自己的 CPU 限制,将会给它一个默认限制,这样它就能被允许运行在一个有配额限制的命名空间中。
<!--
## Clean up
Delete your namespace:
```shell
kubectl delete namespace default-cpu-example
```
-->
## 清理
删除你的命名空间:
```shell
kubectl delete namespace constraints-cpu-example
```
## {{% heading "whatsnext" %}}
<!--
@ -263,6 +280,6 @@ it can be allowed to run in a namespace that is restricted by a quota.
* [为容器和 Pod 分配内存资源](/zh/docs/tasks/configure-pod-container/assign-memory-resource/)
* [为容器和 Pod 分配 CPU 资源](/zh/docs/tasks/configure-pod-container/assign-cpu-resource/)
* [为 Pod 配置 Service 数量](/zh/docs/tasks/configure-pod-container/quality-service-pod/)
* [为 Pod 配置服务质量](/zh/docs/tasks/configure-pod-container/quality-service-pod/)