Support docker live-restore option
Change-Id: Ifc17d132322f84e92655c7ee45dd3566a32ef4b2 Story: 2001783 Task: 12496
This commit is contained in:
parent
1488f49184
commit
8ba28c2df3
@ -34,6 +34,9 @@ docker_registry_ca:
|
||||
# MTU to pass through to containers not using net=host
|
||||
docker_daemon_mtu: 1500
|
||||
|
||||
# Enable live-restore on docker daemon
|
||||
docker_daemon_live_restore: true
|
||||
|
||||
# Upper constraints file which is passed to pip when installing packages
|
||||
# into a venv.
|
||||
docker_upper_constraints_file:
|
||||
|
@ -2,6 +2,9 @@
|
||||
"storage-driver": "{% if docker_storage_driver == 'devicemapper' %}devicemapper{% else %}overlay{% endif %}",
|
||||
{% if docker_daemon_mtu %}
|
||||
"mtu": {{ docker_daemon_mtu }},
|
||||
{% endif %}
|
||||
{% if docker_daemon_live_restore %}
|
||||
"live-restore": {{ docker_daemon_live_restore | to_json }},
|
||||
{% endif %}
|
||||
"storage-opts": [
|
||||
{% if docker_storage_driver == 'devicemapper' %}
|
||||
|
@ -10,6 +10,9 @@ Features
|
||||
|
||||
* Adds support for configuration of custom repositories. ``yum_custom_repos``
|
||||
should be a dict of repositories.
|
||||
* Adds support for configuration of live-restore option in docker. This is
|
||||
enabled by setting the variable ``docker_daemon_live_restore``. Option is
|
||||
set to true by default.
|
||||
|
||||
Upgrade Notes
|
||||
-------------
|
||||
|
@ -28,6 +28,9 @@
|
||||
# CA of docker registry
|
||||
#docker_registry_ca:
|
||||
|
||||
# Enable live-restore on docker daemon
|
||||
#docker_daemon_live_restore:
|
||||
|
||||
###############################################################################
|
||||
# Dummy variable to allow Ansible to accept this file.
|
||||
workaround_ansible_issue_8743: yes
|
||||
|
Loading…
Reference in New Issue
Block a user