Skip to content

Commit 450e619

Browse files
authored
Merge pull request #44861 from suhasadhav/patch-1
Mention how requests are inferred from limits
2 parents 86a76b4 + 4ddb452 commit 450e619

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/en/docs/concepts/scheduling-eviction/pod-overhead.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ spec:
8282
memory: 100Mi
8383
```
8484

85+
{{< note >}}
86+
If only `limits` are specified in the pod definition, kubelet will deduce `requests` from those limits and set them to be the same as the defined `limits`.
87+
{{< /note >}}
88+
8589
At admission time the RuntimeClass [admission controller](/docs/reference/access-authn-authz/admission-controllers/)
8690
updates the workload's PodSpec to include the `overhead` as described in the RuntimeClass. If the PodSpec already has this field defined,
8791
the Pod will be rejected. In the given example, since only the RuntimeClass name is specified, the admission controller mutates the Pod

0 commit comments

Comments
 (0)