Skip to content

Commit b2aa481

Browse files
committed
[zh] Sync changes on quality-service-pod from English site
Signed-off-by: frbimo <[email protected]>
1 parent 5e9f630 commit b2aa481

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/zh/docs/tasks/configure-pod-container/quality-service-pod.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ kubectl create namespace qos-example
5959
6060
For a Pod to be given a QoS class of Guaranteed:
6161
62-
* Every Container in the Pod must have a memory limit and a memory request, and they must be the same.
63-
* Every Container in the Pod must have a CPU limit and a CPU request, and they must be the same.
62+
* Every Container, including init containers, in the Pod must have a memory limit and a memory request, and they must be the same.
63+
* Every Container, including init containers, in the Pod must have a CPU limit and a CPU request, and they must be the same.
6464
6565
Here is the configuration file for a Pod that has one Container. The Container has a memory limit and a
6666
memory request, both equal to 200 MiB. The Container has a CPU limit and a CPU request, both equal to 700 milliCPU:
@@ -69,8 +69,8 @@ memory request, both equal to 200 MiB. The Container has a CPU limit and a CPU r
6969

7070
对于 QoS 类为 Guaranteed 的 Pod:
7171

72-
* Pod 中的每个容器必须指定内存请求和内存限制,并且两者要相等。
73-
* Pod 中的每个容器必须指定 CPU 请求和 CPU 限制,并且两者要相等。
72+
* Pod 中的每个容器,包含初始化容器,必须指定内存请求和内存限制,并且两者要相等。
73+
* Pod 中的每个容器,包含初始化容器,必须指定 CPU 请求和 CPU 限制,并且两者要相等。
7474

7575
下面是包含一个容器的 Pod 配置文件。
7676
容器设置了内存请求和内存限制,值都是 200 MiB。

0 commit comments

Comments
 (0)