mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #104135 from vteratipally/master
Update configure-helper.sh
This commit is contained in:
commit
afb8d236f9
@ -1506,11 +1506,12 @@ function set_docker_options_non_ubuntu() {
|
||||
|
||||
addockeropt "\"mtu\": 1460,"
|
||||
addockeropt "\"storage-driver\": \"overlay2\","
|
||||
|
||||
echo "setting live restore"
|
||||
# Disable live-restore if the environment variable is set.
|
||||
if [[ "${DISABLE_DOCKER_LIVE_RESTORE:-false}" == "true" ]]; then
|
||||
addockeropt "\"live-restore\": \"false\","
|
||||
addockeropt "\"live-restore\": false,"
|
||||
else
|
||||
addockeropt "\"live-restore\": true,"
|
||||
fi
|
||||
}
|
||||
|
||||
@ -1558,6 +1559,7 @@ addockeropt "\"pidfile\": \"/var/run/docker.pid\",
|
||||
disable_aufs
|
||||
set_docker_options_non_ubuntu
|
||||
|
||||
|
||||
echo "setting docker logging options"
|
||||
# Configure docker logging
|
||||
addockeropt "\"log-driver\": \"${DOCKER_LOG_DRIVER:-json-file}\","
|
||||
|
Loading…
Reference in New Issue
Block a user