Disable restart plugin on GCE.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
parent
f938a166cd
commit
b58b6fef86
@ -155,6 +155,9 @@ if [ -n "${network_policy_provider}" ] && [ "${network_policy_provider}" != "non
|
|||||||
fi
|
fi
|
||||||
log_level="${CONTAINERD_LOG_LEVEL:-"info"}"
|
log_level="${CONTAINERD_LOG_LEVEL:-"info"}"
|
||||||
cat > ${config_path} <<EOF
|
cat > ${config_path} <<EOF
|
||||||
|
# Kubernetes doesn't use containerd restart manager.
|
||||||
|
disabled_plugins = ["restart"]
|
||||||
|
|
||||||
[debug]
|
[debug]
|
||||||
level = "${log_level}"
|
level = "${log_level}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user