diff --git a/content/en/docs/concepts/configuration/manage-resources-containers.md b/content/en/docs/concepts/configuration/manage-resources-containers.md index 6057c60d46..df8fb1310f 100644 --- a/content/en/docs/concepts/configuration/manage-resources-containers.md +++ b/content/en/docs/concepts/configuration/manage-resources-containers.md @@ -47,6 +47,13 @@ Limits can be implemented either reactively (the system intervenes once it sees or by enforcement (the system prevents the container from ever exceeding the limit). Different runtimes can have different ways to implement the same restrictions. +{{< note >}} +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. Similarly, if a Container specifies its own +CPU limit, but does not specify a CPU request, Kubernetes automatically assigns a CPU request that matches +the limit. +{{< /note >}} + ## Resource types *CPU* and *memory* are each a *resource type*. A resource type has a base unit. diff --git a/content/en/docs/tasks/configure-pod-container/assign-cpu-resource.md b/content/en/docs/tasks/configure-pod-container/assign-cpu-resource.md index 3afda46609..76c555aace 100644 --- a/content/en/docs/tasks/configure-pod-container/assign-cpu-resource.md +++ b/content/en/docs/tasks/configure-pod-container/assign-cpu-resource.md @@ -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