Skip to content

Commit

Permalink
doc/radosgw: format admonitions
Browse files Browse the repository at this point in the history
Break up the text of two similar admonitions into three paragraphs (in
each of the two instances). This makes the content of the admonition
much easier to read at a glance.

Signed-off-by: Zac Dover <[email protected]>
  • Loading branch information
zdover23 committed Mar 2, 2023
1 parent c8c099f commit 4db68f5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions doc/radosgw/multisite.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,11 @@ realm enforces a globally unique namespace within itself.

radosgw-admin realm create --rgw-realm=movies --default

.. note:: If you intend the cluster to have a single realm, specify the ``--default`` flag. If ``--default`` is specified, ``radosgw-admin`` uses this realm by default. If ``--default`` is not specified, you must specify either the ``--rgw-realm`` flag or the ``--realm-id`` flag to identify the realm when adding zonegroups and zones.
.. note:: If you intend the cluster to have a single realm, specify the ``--default`` flag.

If ``--default`` is specified, ``radosgw-admin`` uses this realm by default.

If ``--default`` is not specified, you must specify either the ``--rgw-realm`` flag or the ``--realm-id`` flag to identify the realm when adding zonegroups and zones.

#. After the realm has been created, ``radosgw-admin`` echoes back the realm
configuration. For example:
Expand Down Expand Up @@ -195,7 +199,11 @@ for the realm.

radosgw-admin zonegroup create --rgw-zonegroup=us --endpoints=http://rgw1:80 --rgw-realm=movies --master --default

.. note:: If the realm will have only a single zonegroup, specify the ``--default`` flag. If ``--default`` is specified, ``radosgw-admin`` uses this zonegroup by default when adding new zones. If ``--default`` is not specified, you must use either the ``--rgw-zonegroup`` flag or the ``--zonegroup-id`` flag to identify the zonegroup when adding or modifying zones.
.. note:: If the realm will have only a single zonegroup, specify the ``--default`` flag.

If ``--default`` is specified, ``radosgw-admin`` uses this zonegroup by default when adding new zones.

If ``--default`` is not specified, you must use either the ``--rgw-zonegroup`` flag or the ``--zonegroup-id`` flag to identify the zonegroup when adding or modifying zones.

#. After creating the master zonegroup, ``radosgw-admin`` echoes back the
zonegroup configuration. For example:
Expand Down

0 comments on commit 4db68f5

Please sign in to comment.