Merge pull request #24402 from SumoLogic/master

Add explicit info about pod limits being applied to requests
This commit is contained in:
Kubernetes Prow Robot
2020-10-12 17:39:22 -07:00
committed by GitHub
2 changed files with 14 additions and 0 deletions
@@ -222,6 +222,13 @@ Container is automatically assigned the default limit. Cluster administrators ca
[LimitRange](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#limitrange-v1-core/)
to specify a default value for the CPU limit.
## If you specify a CPU limit but do not specify a CPU request
If you specify a CPU limit for a Container but do not specify a CPU request, Kubernetes automatically
assigns a CPU request that matches the limit. Similarly, if a Container specifies its own memory limit,
but does not specify a memory request, Kubernetes automatically assigns a memory request that matches
the limit.
## Motivation for CPU requests and limits
By configuring the CPU requests and limits of the Containers that run in your