]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rgw/d3n: pass cache dir volume to extra_container_args 59769/head
authorMark Kogan <mkogan@ibm.com>
Mon, 26 Aug 2024 12:44:08 +0000 (15:44 +0300)
committerZac Dover <zac.dover@proton.me>
Thu, 12 Sep 2024 14:30:59 +0000 (00:30 +1000)
Fixes: https://tracker.ceph.com/issues/66492
Signed-off-by: Mark Kogan <mkogan@ibm.com>
(cherry picked from commit 4594e38bf19a8f73191904f5f373a3707cddd2f3)

doc/radosgw/d3n_datacache.rst

index 12d2850a594ad9d976307ab897c7d49e5ef1a81b..28c7995301b8e50a29f87471f9e0922de36e7db8 100644 (file)
@@ -82,6 +82,14 @@ is mounted at `/mnt/nvme0` and has `10 GB` of free space available for the cache
 The persistent path directory has to be created before starting the Gateway.
 (``mkdir -p /mnt/nvme0/rgw_datacache/client.rgw.8000/``)
 
+In containerized deployments the cache directory should be mounted as a volume::
+
+    extra_container_args:
+      - "-v"
+      - "/mnt/nvme0/rgw_datacache/client.rgw.8000/:/mnt/nvme0/rgw_datacache/client.rgw.8000/"
+
+(Reference: `Service Management - Mounting Files with Extra Container Arguments`_)
+
 If another Gateway is co-located on the same machine, configure it's persistent path to a discrete directory,
 for example in the case of `[client.rgw.8001]` configure
 ``rgw_d3n_l1_datacache_persistent_path = "/mnt/nvme0/rgw_datacache/client.rgw.8001/"``
@@ -114,3 +122,4 @@ The following D3N related settings can be added to the Ceph configuration file
 .. _Rados Gateway Compression: ../compression/
 .. _Rados Gateway Encryption: ../encryption/
 .. _RGW Data cache and CDN: ../rgw-cache/
+.. _Service Management - Mounting Files with Extra Container Arguments: ../cephadm/services/#mounting-files-with-extra-container-arguments