Set containerd oom score adj to -999.

Signed-off-by: Lantao Liu <lantaol@google.com>
k3s-v1.15.3
Lantao Liu 2019-05-24 10:36:54 -07:00
parent d1d6f64cda
commit f6aa22e9e3
1 changed files with 1 additions and 0 deletions

View File

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