summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishnu kannan <vishnuk@google.com>2016-09-07 18:32:38 -0700
committerVishnu kannan <vishnuk@google.com>2016-09-14 11:56:10 -0700
commit9bbb2c90567802b95cb6b2509fc73f16bc195136 (patch)
tree1b115b8f371ee4d87953a625f13a0ab4d174186e
parentf75d4e6b985bac3348a453d6a278bdf4573d68c6 (diff)
Fix oom-score-adj policy in kubelet.
Docker daemon and kubelet needs to be protected by setting oom-score-adj to -999. Signed-off-by: Vishnu kannan <vishnuk@google.com>
-rw-r--r--resource-qos.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/resource-qos.md b/resource-qos.md
index b2a43c97..6a8e8ab2 100644
--- a/resource-qos.md
+++ b/resource-qos.md
@@ -226,6 +226,7 @@ Pod OOM score configuration
*Pod infra containers* or *Special Pod init process*
- OOM_SCORE_ADJ: -998
+
*Kubelet, Docker*
- OOM_SCORE_ADJ: -999 (won’t be OOM killed)
- Hack, because these critical tasks might die if they conflict with guaranteed containers. In the future, we should place all user-pods into a separate cgroup, and set a limit on the memory they can consume.