From: Zac Dover Date: Sun, 25 May 2025 23:57:40 +0000 (+1000) Subject: doc/mgr: edit rgw.rst X-Git-Tag: v19.2.3~110^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=79e4e8b9f1b92cf97ad36e4b150a4de4ef341962;p=ceph.git doc/mgr: edit rgw.rst Edit doc/mgr/rgw.rst. This is part of a project to separate out the twenty-five files that were committed to https://github.com/ceph/ceph/pull/62782. Signed-off-by: Zac Dover (cherry picked from commit e7f2a4b5b22280b32800930a5707791360e68f59) --- diff --git a/doc/mgr/rgw.rst b/doc/mgr/rgw.rst index 9f00c7da03f40..b6a98aae2e4fb 100644 --- a/doc/mgr/rgw.rst +++ b/doc/mgr/rgw.rst @@ -9,9 +9,11 @@ the different related entities. Enabling -------- -The *rgw* module is enabled with:: +To enable the ``rgw`` module, run the following command: - ceph mgr module enable rgw +.. prompt:: bash # + + ceph mgr module enable rgw RGW Realm Operations @@ -25,13 +27,13 @@ supports both passing the arguments through the cmd line or as a spec file: .. prompt:: bash # - ceph rgw realm bootstrap [--realm-name] [--zonegroup-name] [--zone-name] [--port] [--placement] [--start-radosgw] + ceph rgw realm bootstrap [--realm-name] [--zonegroup-name] [--zone-name] [--port] [--placement] [--start-radosgw] The command supports providing the configuration through a spec file (`-i option`): .. prompt:: bash # - ceph rgw realm bootstrap -i myrgw.yaml + ceph rgw realm bootstrap -i myrgw.yaml Following is an example of RGW multisite spec file: @@ -68,11 +70,11 @@ Realm Credentials Token Users can list the available tokens for the created (or already existing) realms. The token is a base64 string that encapsulates the realm information and its master zone endpoint authentication data. Following is an example of -the `ceph rgw realm tokens` output: +the ``ceph rgw realm tokens`` output: .. prompt:: bash # - ceph rgw realm tokens | jq + ceph rgw realm tokens | jq .. code-block:: json @@ -115,28 +117,29 @@ Following is an example of zone spec file: Commands -------- -:: - ceph rgw realm bootstrap -i spec.yaml +.. prompt:: bash # + + ceph rgw realm bootstrap -i spec.yaml Create a new realm + zonegroup + zone and deploy rgw daemons via the orchestrator using the information specified in the YAML file. -:: +.. prompt:: bash # - ceph rgw realm tokens + ceph rgw realm tokens List the tokens of all the available realms -:: +.. prompt:: bash # - ceph rgw zone create -i spec.yaml + ceph rgw zone create -i spec.yaml Join an existing realm by creating a new secondary zone (using the realm token) -:: +.. prompt:: bash # - ceph rgw admin [*] + ceph rgw admin [*] RGW admin command @@ -176,6 +179,6 @@ Upgrading root ca certificates #. From the primary node, ensure that the ``curl`` command can be run by the user: - .. prompt:: bash [root@primary-node]# + .. prompt:: bash [user@primary-node]$ curl https://:443