Skip to content

Commit 8fa7cbc

Browse files
authored
revert previous change and add yaml comment
1 parent 008dfcd commit 8fa7cbc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,14 @@ spec:
6868
stdin: true
6969
tty: true
7070
resources:
71-
requests:
71+
# Note: If only limits are specified, kubelet will deduce requests from those limits and set them to be the same as the limits.
72+
limits:
7273
cpu: 500m
7374
memory: 100Mi
7475
- name: nginx-ctr
7576
image: nginx
7677
resources:
77-
requests:
78+
limits:
7879
cpu: 1500m
7980
memory: 100Mi
8081
```

0 commit comments

Comments
 (0)