Skip to content

Commit 24bfa35

Browse files
authored
Merge pull request ceph#59438 from mkogan1/wip-d3n-ex-co-ar
doc/rgw/d3n: pass cache dir volume to extra_container_args
2 parents 32d90b7 + 4594e38 commit 24bfa35

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/radosgw/d3n_datacache.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ is mounted at `/mnt/nvme0` and has `10 GB` of free space available for the cache
8282
The persistent path directory has to be created before starting the Gateway.
8383
(``mkdir -p /mnt/nvme0/rgw_datacache/client.rgw.8000/``)
8484

85+
In containerized deployments the cache directory should be mounted as a volume::
86+
87+
extra_container_args:
88+
- "-v"
89+
- "/mnt/nvme0/rgw_datacache/client.rgw.8000/:/mnt/nvme0/rgw_datacache/client.rgw.8000/"
90+
91+
(Reference: `Service Management - Mounting Files with Extra Container Arguments`_)
92+
8593
If another Gateway is co-located on the same machine, configure it's persistent path to a discrete directory,
8694
for example in the case of `[client.rgw.8001]` configure
8795
``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
114122
.. _Rados Gateway Compression: ../compression/
115123
.. _Rados Gateway Encryption: ../encryption/
116124
.. _RGW Data cache and CDN: ../rgw-cache/
125+
.. _Service Management - Mounting Files with Extra Container Arguments: ../cephadm/services/#mounting-files-with-extra-container-arguments

0 commit comments

Comments
 (0)