Set containerd oom score adj to -999.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu 2019-05-24 10:36:54 -07:00
parent d1d6f64cda
commit f6aa22e9e3

View File

@ -2899,6 +2899,7 @@ EOF
cat > "${config_path}" <<EOF
# Kubernetes doesn't use containerd restart manager.
disabled_plugins = ["restart"]
oom_score = -999
[debug]
level = "${CONTAINERD_LOG_LEVEL:-"info"}"