@@ -79,6 +79,11 @@ CPU request and limit to the Container.
|
|||||||
|
|
||||||
* Verify that the Container specifies a CPU limit that is less than or equal to 800 millicpu.
|
* Verify that the Container specifies a CPU limit that is less than or equal to 800 millicpu.
|
||||||
|
|
||||||
|
**Note:** When creating a `LimitRange` object, you can specify limits on huge-pages
|
||||||
|
or GPUs as well. However, when both `default` and `defaultRequest` are specified
|
||||||
|
on these resources, the two values must be the same.
|
||||||
|
{: .note}
|
||||||
|
|
||||||
Here's the configuration file for a Pod that has one Container. The Container manifest
|
Here's the configuration file for a Pod that has one Container. The Container manifest
|
||||||
specifies a CPU request of 500 millicpu and a CPU limit of 800 millicpu. These satisfy the
|
specifies a CPU request of 500 millicpu and a CPU limit of 800 millicpu. These satisfy the
|
||||||
minimum and maximum CPU constraints imposed by the LimitRange.
|
minimum and maximum CPU constraints imposed by the LimitRange.
|
||||||
|
|||||||
Reference in New Issue
Block a user