Skip to content

Commit 4ddb452

Browse files
authored
update note message and place
1 parent 25d3b7c commit 4ddb452

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ spec:
7979
memory: 100Mi
8080
```
8181

82+
{{< note >}}
83+
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`.
84+
{{< /note >}}
85+
8286
At admission time the RuntimeClass [admission controller](/docs/reference/access-authn-authz/admission-controllers/)
8387
updates the workload's PodSpec to include the `overhead` as described in the RuntimeClass. If the PodSpec already has this field defined,
8488
the Pod will be rejected. In the given example, since only the RuntimeClass name is specified, the admission controller mutates the Pod
@@ -97,10 +101,6 @@ The output is:
97101
map[cpu:250m memory:120Mi]
98102
```
99103

100-
{{< note >}}
101-
If only `limits` are specified, kubelet will deduce `requests` from those limits and set them to be the same as the defined `limits`.
102-
{{< /note >}}
103-
104104
If a [ResourceQuota](/docs/concepts/policy/resource-quotas/) is defined, the sum of container requests as well as the
105105
`overhead` field are counted.
106106

0 commit comments

Comments
 (0)