Skip to content

Commit ef76103

Browse files
Merge pull request ceph#62966 from bluikko/doc-toc-sectionlevels-radosgw
doc/radosgw: Fix section header levels in multisite-sync-policy.rst
2 parents 3222cb8 + bc9000e commit ef76103

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

doc/radosgw/multisite-sync-policy.rst

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ The S3 bucket replication API has also been implemented, and allows users to cre
4444

4545

4646
Sync Policy Control Reference
47-
=============================
47+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4848

4949

5050
Get Sync Policy
51-
~~~~~~~~~~~~~~~
51+
===============
5252

5353
To retrieve the current zonegroup sync policy, or a specific bucket policy:
5454

@@ -58,7 +58,7 @@ To retrieve the current zonegroup sync policy, or a specific bucket policy:
5858

5959

6060
Create Sync Policy Group
61-
~~~~~~~~~~~~~~~~~~~~~~~~
61+
========================
6262

6363
To create a sync policy group:
6464

@@ -70,7 +70,7 @@ To create a sync policy group:
7070

7171

7272
Modify Sync Policy Group
73-
~~~~~~~~~~~~~~~~~~~~~~~~
73+
========================
7474

7575
To modify a sync policy group:
7676

@@ -82,7 +82,7 @@ To modify a sync policy group:
8282

8383

8484
Show Sync Policy Group
85-
~~~~~~~~~~~~~~~~~~~~~~
85+
======================
8686

8787
To show a sync policy group:
8888

@@ -93,7 +93,7 @@ To show a sync policy group:
9393

9494

9595
Remove Sync Policy Group
96-
~~~~~~~~~~~~~~~~~~~~~~~~
96+
========================
9797

9898
To remove a sync policy group:
9999

@@ -104,7 +104,7 @@ To remove a sync policy group:
104104

105105

106106
Create Sync Flow
107-
~~~~~~~~~~~~~~~~
107+
================
108108

109109
To create or update directional sync flow:
110110

@@ -133,7 +133,7 @@ Where zones are a comma separated list of all the zones that need to add to the
133133

134134

135135
Remove Sync Flow Zones
136-
~~~~~~~~~~~~~~~~~~~~~~
136+
======================
137137

138138
To remove directional sync flow:
139139

@@ -172,7 +172,7 @@ To remove symmetrical sync flow:
172172

173173

174174
Create Sync Pipe
175-
~~~~~~~~~~~~~~~~
175+
================
176176

177177
To create sync group pipe, or update its parameters:
178178

@@ -208,7 +208,7 @@ User id can be set for user mode, and will be the user under which the sync oper
208208

209209

210210
Remove Sync Pipe
211-
~~~~~~~~~~~~~~~~
211+
================
212212

213213
To remove specific sync group pipe params, or the entire pipe:
214214

@@ -227,7 +227,7 @@ To remove specific sync group pipe params, or the entire pipe:
227227

228228

229229
Sync Info
230-
~~~~~~~~~
230+
=========
231231

232232
To get information about the expected sync sources and targets (as defined by the sync policy):
233233

@@ -241,12 +241,12 @@ Since a bucket can define a policy that defines data movement from it towards a
241241

242242

243243
Examples
244-
========
244+
~~~~~~~~
245245

246246
The system in these examples includes 3 zones: ``us-east`` (the master zone), ``us-west``, ``us-west-2``.
247247

248248
Example 1: Two Zones, Complete Mirror
249-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
249+
=====================================
250250

251251
This is similar to older (pre Octopus) sync capabilities, but being done via the new sync policy engine. Note that changes to the zonegroup sync policy require a period update and commit.
252252

@@ -348,7 +348,7 @@ entries as can be seen in the example.
348348

349349

350350
Example 2: Directional, Entire Zone Backup
351-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
351+
==========================================
352352

353353
Also similar to older sync capabilities. In here we add a third zone, ``us-west-2`` that will be a replica of ``us-west``, but data will not be replicated back from it.
354354

@@ -443,7 +443,7 @@ Whereas ``us-west-2`` has only source and no destinations:
443443
444444
445445
Example 3: Mirror a Specific Bucket
446-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
446+
===================================
447447

448448
Using the same group configuration, but this time switching it to ``allowed`` state, which means that sync is allowed but not enabled.
449449

@@ -466,7 +466,7 @@ And we will create a bucket level policy rule for existing bucket ``buck2``. Not
466466

467467

468468
Example 4: Limit Bucket Sync to Specific Zones
469-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
469+
==============================================
470470

471471
This will only sync ``buck3`` to ``us-east`` (from any zone that flow allows to sync into ``us-east``).
472472

@@ -481,7 +481,7 @@ This will only sync ``buck3`` to ``us-east`` (from any zone that flow allows to
481481

482482

483483
Example 5: Sync From a Different Bucket
484-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
484+
=======================================
485485

486486
Note that bucket sync only works (currently) across zones and not within the same zone.
487487

@@ -565,7 +565,7 @@ Note that there are resolved hints, which means that the bucket ``buck5`` found
565565

566566

567567
Example 6: Sync to Different Bucket
568-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
568+
===================================
569569

570570
The same mechanism can work for configuring data to be synced to (vs. synced from as in the previous example). Note that internally data is still pulled from the source at the destination zone:
571571

@@ -586,7 +586,7 @@ A wildcard bucket name means the current bucket in the context of bucket sync po
586586
Combined with the configuration in Example 5, we can now write data to ``buck6`` on ``us-east``, data will sync to ``buck5`` on ``us-west``, and from there it will be distributed to ``buck4`` on ``us-east``, and on ``us-west-2``.
587587

588588
Example 7: Source Filters
589-
~~~~~~~~~~~~~~~~~~~~~~~~~
589+
=========================
590590

591591
Sync from ``buck8`` to ``buck9``, but only objects that start with ``foo/``:
592592

@@ -680,7 +680,7 @@ Prefixes and tags can be combined, in which object will need to have both in ord
680680

681681

682682
Example 8: Destination Params: Storage Class
683-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
683+
============================================
684684

685685
Storage class of the destination objects can be configured:
686686

@@ -696,7 +696,7 @@ Storage class of the destination objects can be configured:
696696

697697

698698
Example 9: Destination Params: Destination Owner Translation
699-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
699+
============================================================
700700

701701
Set the destination objects owner as the destination bucket owner.
702702
This requires specifying the uid of the destination bucket:
@@ -712,7 +712,7 @@ This requires specifying the uid of the destination bucket:
712712

713713

714714
Example 10: Destination Params: User Mode
715-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
715+
=========================================
716716

717717
User mode makes sure that the user has permissions to both read the objects, and write to the destination bucket. This requires that the uid of the user (which in its context the operation executes) is specified.
718718

0 commit comments

Comments
 (0)