Skip to content

Commit

Permalink
[DOCS] Fix styling of deprecation message (elastic#77173)
Browse files Browse the repository at this point in the history
* [DOCS] Fix styling of deprecation message

Fixes the alignment and display of the deprecation messages on the index-level data tier allocation filtering page.

* Add quotes to deprecation string
  • Loading branch information
Adam Locke authored Sep 2, 2021
1 parent 3fa00ea commit 23ab929
Showing 1 changed file with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,33 +26,33 @@ mounted indices>> exclusively.

`index.routing.allocation.include._tier`::

Assign the index to a node whose `node.roles` configuration has at
least one of to the comma-separated values.

deprecated::[7.13, Filtering based on `include._tier`, `require._tier` and `exclude._tier` is deprecated, use <<tier-preference-allocation-filter,_tier_preference>> instead]
Assign the index to a node whose `node.roles` configuration has at
least one of to the comma-separated values.
+
deprecated::[7.13,"Filtering based on `include._tier`, `require._tier` and `exclude._tier` is deprecated. Use <<tier-preference-allocation-filter,_tier_preference>> instead."]

`index.routing.allocation.require._tier`::

Assign the index to a node whose `node.roles` configuration has _all_
of the comma-separated values.

deprecated::[7.13, Filtering based on `include._tier`, `require._tier` and `exclude._tier` is deprecated, use <<tier-preference-allocation-filter,_tier_preference>> instead]
Assign the index to a node whose `node.roles` configuration has _all_
of the comma-separated values.
+
deprecated::[7.13,"Filtering based on `include._tier`, `require._tier` and `exclude._tier` is deprecated. Use <<tier-preference-allocation-filter,_tier_preference>> instead."]

`index.routing.allocation.exclude._tier`::

Assign the index to a node whose `node.roles` configuration has _none_ of the
comma-separated values.

deprecated::[7.13, Filtering based on `include._tier`, `require._tier` and `exclude._tier` is deprecated, use <<tier-preference-allocation-filter,_tier_preference>> instead]
Assign the index to a node whose `node.roles` configuration has _none_ of the
comma-separated values.
+
deprecated::[7.13,"Filtering based on `include._tier`, `require._tier` and `exclude._tier` is deprecated. Use <<tier-preference-allocation-filter,_tier_preference>> instead."]

[[tier-preference-allocation-filter]]
`index.routing.allocation.include._tier_preference`::

Assign the index to the first tier in the list that has an available node.
This prevents indices from remaining unallocated if no nodes are available
in the preferred tier.
For example, if you set `index.routing.allocation.include._tier_preference`
to `data_warm,data_hot`, the index is allocated to the warm tier if there
are nodes with the `data_warm` role. If there are no nodes in the warm tier,
but there are nodes with the `data_hot` role, the index is allocated to
the hot tier.
Assign the index to the first tier in the list that has an available node.
This prevents indices from remaining unallocated if no nodes are available
in the preferred tier.
For example, if you set `index.routing.allocation.include._tier_preference`
to `data_warm,data_hot`, the index is allocated to the warm tier if there
are nodes with the `data_warm` role. If there are no nodes in the warm tier,
but there are nodes with the `data_hot` role, the index is allocated to
the hot tier.

0 comments on commit 23ab929

Please sign in to comment.