summaryrefslogtreecommitdiffstats
path: root/doc/radosgw
diff options
context:
space:
mode:
authorMark Kogan <mkogan@ibm.com>2024-08-26 14:44:08 +0200
committerMark Kogan <mkogan@ibm.com>2024-09-02 14:29:28 +0200
commit4594e38bf19a8f73191904f5f373a3707cddd2f3 (patch)
treeaf5e01f29e0bff7232b18cda7461b00d937430a1 /doc/radosgw
parentMerge pull request #58037 from Suyashd999/refractor-PrimaryLogPG (diff)
downloadceph-4594e38bf19a8f73191904f5f373a3707cddd2f3.tar.xz
ceph-4594e38bf19a8f73191904f5f373a3707cddd2f3.zip
doc/rgw/d3n: pass cache dir volume to extra_container_args
Fixes: https://tracker.ceph.com/issues/66492 Signed-off-by: Mark Kogan <mkogan@ibm.com>
Diffstat (limited to 'doc/radosgw')
-rw-r--r--doc/radosgw/d3n_datacache.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/radosgw/d3n_datacache.rst b/doc/radosgw/d3n_datacache.rst
index 12d2850a594..28c7995301b 100644
--- a/doc/radosgw/d3n_datacache.rst
+++ b/doc/radosgw/d3n_datacache.rst
@@ -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