Clarify what must be the same

When reading these sentences, I thought that each pod must have the same values as each other pod. In other words, pod1's memory limit must equal pod2's memory limit.

It looks like I misunderstood; "must be the same" means that the limit and request values on each individual pod must match.

Clarify what "must be the same".
pull/27989/head
Steven Pitts 2021-05-14 12:12:48 -04:00 committed by GitHub
parent 89e642d082
commit c315df3c0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -45,8 +45,8 @@ kubectl create namespace qos-example
For a Pod to be given a QoS class of Guaranteed:
* Every Container, including init containers, in the Pod must have a memory limit and a memory request, and they must be the same.
* Every Container, including init containers, in the Pod must have a CPU limit and a CPU request, and they must be the same.
* Every Container, including init containers, in the Pod must have a memory limit and a memory request, and the two values must be the same.
* Every Container, including init containers, in the Pod must have a CPU limit and a CPU request, and the two values must be the same.
Here is the configuration file for a Pod that has one Container. The Container has a memory limit and a
memory request, both equal to 200 MiB. The Container has a CPU limit and a CPU request, both equal to 700 milliCPU: