[zh] Update assign-memory-resource.md
Signed-off-by: xin.li <xin.li@daocloud.io>
This commit is contained in:
parent
2326454c84
commit
8a47855a77
|
|
@ -149,10 +149,10 @@ and a memory limit of 200 MiB.
|
|||
```yaml
|
||||
...
|
||||
resources:
|
||||
limits:
|
||||
memory: 200Mi
|
||||
requests:
|
||||
memory: 100Mi
|
||||
limits:
|
||||
memory: 200Mi
|
||||
...
|
||||
```
|
||||
|
||||
|
|
@ -263,7 +263,7 @@ The output shows that the Container was killed because it is out of memory (OOM)
|
|||
```shell
|
||||
lastState:
|
||||
terminated:
|
||||
containerID: docker://65183c1877aaec2e8427bc95609cc52677a454b56fcb24340dbd22917c23b10f
|
||||
containerID: 65183c1877aaec2e8427bc95609cc52677a454b56fcb24340dbd22917c23b10f
|
||||
exitCode: 137
|
||||
finishedAt: 2017-06-20T20:52:19Z
|
||||
reason: OOMKilled
|
||||
|
|
|
|||
Loading…
Reference in New Issue