Disable restart plugin on GCE.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu 2018-05-23 10:39:38 -07:00 committed by Derek McGowan
parent f938a166cd
commit b58b6fef86
No known key found for this signature in database
GPG Key ID: F58C5D0A4405ACDB

View File

@ -155,6 +155,9 @@ if [ -n "${network_policy_provider}" ] && [ "${network_policy_provider}" != "non
fi
log_level="${CONTAINERD_LOG_LEVEL:-"info"}"
cat > ${config_path} <<EOF
# Kubernetes doesn't use containerd restart manager.
disabled_plugins = ["restart"]
[debug]
level = "${log_level}"