mirror of https://github.com/k3s-io/k3s
Set containerd oom score adj to -999.
Signed-off-by: Lantao Liu <lantaol@google.com>k3s-v1.15.3
parent
d1d6f64cda
commit
f6aa22e9e3
|
@ -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"}"
|
||||||
|
|
Loading…
Reference in New Issue