Skip to content

Commit

Permalink
Merge pull request #6346 from tengqm/limit-note
Browse files Browse the repository at this point in the history
/lgtm
  • Loading branch information
Bradamant3 authored Nov 20, 2017
2 parents a9af133 + 47a0781 commit 87068a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/tasks/administer-cluster/cpu-constraint-namespace.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
**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
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.
Expand Down

0 comments on commit 87068a1

Please sign in to comment.