Skip to content

Commit bb91a69

Browse files
committed
updates by comments
1 parent a1aacf7 commit bb91a69

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

doc/reference/configuration/configuration_reference.rst

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2805,37 +2805,6 @@ instances
28052805
Any configuration parameter that can be defined in the instance :ref:`scope <configuration_scopes>`.
28062806
For example, :ref:`iproto <configuration_reference_iproto>` and :ref:`database <configuration_reference_database>` configuration parameters defined at the instance level are applied to this instance only.
28072807

2808-
.. _configuration_reference_labels:
2809-
2810-
labels
2811-
------
2812-
2813-
The ``labels`` section allows adding custom attributes to the configuration.
2814-
Attributes must be ``key: value`` pairs with string keys and values.
2815-
2816-
2817-
.. NOTE::
2818-
2819-
``labels`` can be defined in any :ref:`scope <configuration_scopes>`.
2820-
2821-
- :ref:`labels.\<label_name\> <configuration_reference_labels_name>`
2822-
2823-
.. _configuration_reference_labels_name:
2824-
2825-
.. confval:: labels.<label_name>
2826-
2827-
A value of the label with the specified name.
2828-
2829-
**Example**
2830-
2831-
The example below shows how to define labels on the replica set and instance levels:
2832-
2833-
.. literalinclude:: /code_snippets/snippets/config/instances.enabled/labels/config.yaml
2834-
:language: yaml
2835-
:dedent:
2836-
2837-
See also: :ref:`configuration_labels`
2838-
28392808
.. _configuration_reference_isolated_mode:
28402809

28412810
isolated mode
@@ -2844,7 +2813,7 @@ isolated mode
28442813
Since version :doc:`3.3.0 </release/3.3.0>`, a new ``isolated`` option is added to instance configuration.
28452814

28462815
The option takes boolean values, by default it is set to ``false``.
2847-
``isolated:true`` moves the instance it has been applied at to the **isolated** mode.
2816+
``isolated: true`` moves the instance it has been applied at to the **isolated** mode.
28482817

28492818
The isolated mode allows the user to temporarily isolate an instance and perform maintenance activities on it.
28502819

@@ -2868,6 +2837,37 @@ In the isolated mode:
28682837
:language: yaml
28692838
:dedent:
28702839

2840+
.. _configuration_reference_labels:
2841+
2842+
labels
2843+
------
2844+
2845+
The ``labels`` section allows adding custom attributes to the configuration.
2846+
Attributes must be ``key: value`` pairs with string keys and values.
2847+
2848+
2849+
.. NOTE::
2850+
2851+
``labels`` can be defined in any :ref:`scope <configuration_scopes>`.
2852+
2853+
- :ref:`labels.\<label_name\> <configuration_reference_labels_name>`
2854+
2855+
.. _configuration_reference_labels_name:
2856+
2857+
.. confval:: labels.<label_name>
2858+
2859+
A value of the label with the specified name.
2860+
2861+
**Example**
2862+
2863+
The example below shows how to define labels on the replica set and instance levels:
2864+
2865+
.. literalinclude:: /code_snippets/snippets/config/instances.enabled/labels/config.yaml
2866+
:language: yaml
2867+
:dedent:
2868+
2869+
See also: :ref:`configuration_labels`
2870+
28712871
.. _configuration_reference_log:
28722872

28732873
log

0 commit comments

Comments
 (0)