mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 23:57:49 +00:00
Merge pull request #119670 from lengrongfu/fix/oomkill-multi-target-container
fix OOM killer
This commit is contained in:
commit
3111fee8bf
@ -179,7 +179,7 @@ func getOOMTargetContainerMultiProcess(name string) v1.Container {
|
||||
"sh",
|
||||
"-c",
|
||||
// use the dd tool to attempt to allocate 20M in a block which exceeds the limit
|
||||
"dd if=/dev/zero of=/dev/null bs=20M & sleep 86400",
|
||||
"sleep 5 && dd if=/dev/zero of=/dev/null bs=20M & sleep 86400",
|
||||
},
|
||||
Resources: v1.ResourceRequirements{
|
||||
Requests: v1.ResourceList{
|
||||
|
Loading…
Reference in New Issue
Block a user