diff options
author | Michal Nasiadka <mnasiadka@gmail.com> | 2024-09-11 14:26:37 +0200 |
---|---|---|
committer | Michal Nasiadka <mnasiadka@gmail.com> | 2024-09-13 17:07:44 +0200 |
commit | e0f77686523337f37e3ddbbe40eaa92c68947195 (patch) | |
tree | 6a76d9df2be9d83a780535a58371020686d9ba8b /doc | |
parent | Merge pull request #59066 from xxhdx1985126/wip-67380 (diff) | |
download | ceph-e0f77686523337f37e3ddbbe40eaa92c68947195.tar.xz ceph-e0f77686523337f37e3ddbbe40eaa92c68947195.zip |
cephadm: Support Docker Live Restore
Currently with Docker Live Restore [1] enabled and while restarting
Docker Engine - all Ceph container images will get restarted,
while the feature allows restarting docker.service without
containers downtime.
This is due to Requires=docker.service in systemd units templates,
which mandates that on docker.service restart - the ceph container
systemd units will be restarted as well.
Reworking Requires= to Wants= that is a weaker version of the former,
see [2].
Leaving After= entries, because they should allow systemd to correctly
order the startup (first docker, then ceph containers).
[1]: https://docs.docker.com/engine/daemon/live-restore/
[2]: https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Wants=
Fixes: https://tracker.ceph.com/issues/68028
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cephadm/install.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/cephadm/install.rst b/doc/cephadm/install.rst index 640c2fe0db6..19f477c2cec 100644 --- a/doc/cephadm/install.rst +++ b/doc/cephadm/install.rst @@ -24,6 +24,10 @@ Requirements Any modern Linux distribution should be sufficient. Dependencies are installed automatically by the bootstrap process below. +See `Docker Live Restore <https://docs.docker.com/engine/daemon/live-restore/>`_ +for an optional feature that allows restarting Docker Engine without restarting +all running containers. + See the section :ref:`Compatibility With Podman Versions<cephadm-compatibility-with-podman>` for a table of Ceph versions that are compatible with Podman. Not every version of Podman is compatible with |