File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
content/zh/docs/tasks/configure-pod-container Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -131,13 +131,13 @@ status:
131
131
qosClass : Guaranteed
132
132
` ` `
133
133
134
+ {{< note >}}
134
135
<!--
135
136
If a Container specifies its own memory limit, but does not specify a memory request, Kubernetes
136
137
automatically assigns a memory request that matches the limit. Similarly, if a Container specifies its own
137
138
CPU limit, but does not specify a CPU request, Kubernetes automatically assigns a CPU request that matches
138
139
the limit.
139
140
-->
140
- {{< note >}}
141
141
如果容器指定了自己的内存限制,但没有指定内存请求,Kubernetes 会自动为它指定与内存限制匹配的内存请求。
142
142
同样,如果容器指定了自己的 CPU 限制,但没有指定 CPU 请求,Kubernetes 会自动为它指定与 CPU 限制匹配的 CPU 请求。
143
143
{{< /note >}}
@@ -158,7 +158,7 @@ kubectl delete pod qos-demo --namespace=qos-example
158
158
A Pod is given a QoS class of Burstable if:
159
159
160
160
* The Pod does not meet the criteria for QoS class Guaranteed.
161
- * At least one Container in the Pod has a memory or CPU request.
161
+ * At least one Container in the Pod has a memory or CPU request or limit .
162
162
163
163
Here is the configuration file for a Pod that has one Container. The Container has a memory limit of 200 MiB
164
164
and a memory request of 100 MiB.
@@ -168,7 +168,7 @@ and a memory request of 100 MiB.
168
168
如果满足下面条件,将会指定 Pod 的 QoS 类为 Burstable:
169
169
170
170
* Pod 不符合 Guaranteed QoS 类的标准。
171
- * Pod 中至少一个容器具有内存或 CPU 请求 。
171
+ * Pod 中至少一个容器具有内存或 CPU 的请求或限制 。
172
172
173
173
下面是包含一个容器的 Pod 配置文件。
174
174
容器设置了内存限制 200 MiB 和内存请求 100 MiB。
You can’t perform that action at this time.
0 commit comments