Skip to content

Commit 8a47855

Browse files
committed
[zh] Update assign-memory-resource.md
Signed-off-by: xin.li <[email protected]>
1 parent 2326454 commit 8a47855

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/zh/docs/tasks/configure-pod-container/assign-memory-resource.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,10 @@ and a memory limit of 200 MiB.
149149
```yaml
150150
...
151151
resources:
152-
limits:
153-
memory: 200Mi
154152
requests:
155153
memory: 100Mi
154+
limits:
155+
memory: 200Mi
156156
...
157157
```
158158

@@ -263,7 +263,7 @@ The output shows that the Container was killed because it is out of memory (OOM)
263263
```shell
264264
lastState:
265265
terminated:
266-
containerID: docker://65183c1877aaec2e8427bc95609cc52677a454b56fcb24340dbd22917c23b10f
266+
containerID: 65183c1877aaec2e8427bc95609cc52677a454b56fcb24340dbd22917c23b10f
267267
exitCode: 137
268268
finishedAt: 2017-06-20T20:52:19Z
269269
reason: OOMKilled

0 commit comments

Comments
 (0)