Skip to content

Commit 25d3b7c

Browse files
authored
make comment as note
1 parent 8fa7cbc commit 25d3b7c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ spec:
6868
stdin: true
6969
tty: true
7070
resources:
71-
# Note: If only limits are specified, kubelet will deduce requests from those limits and set them to be the same as the limits.
7271
limits:
7372
cpu: 500m
7473
memory: 100Mi
@@ -98,6 +97,10 @@ The output is:
9897
map[cpu:250m memory:120Mi]
9998
```
10099

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+
101104
If a [ResourceQuota](/docs/concepts/policy/resource-quotas/) is defined, the sum of container requests as well as the
102105
`overhead` field are counted.
103106

0 commit comments

Comments
 (0)