Set the oom_score_adj of guaranteed pod to -997
When oom happens, the sandbox maybe killed first, so set the oom score of guaranteed pod to -997.
This commit is contained in:
@@ -31,7 +31,7 @@ const (
|
||||
KubeletOOMScoreAdj int = -999
|
||||
DockerOOMScoreAdj int = -999
|
||||
KubeProxyOOMScoreAdj int = -999
|
||||
guaranteedOOMScoreAdj int = -998
|
||||
guaranteedOOMScoreAdj int = -997
|
||||
besteffortOOMScoreAdj int = 1000
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user