Skip to content

Commit cecc5dd

Browse files
anthonyelevenzdover23
authored andcommitted
doc/cephadm: Correct formatting in upgrade.rst
Signed-off-by: Anthony D'Atri <[email protected]> (cherry picked from commit 0e1adc4)
1 parent 5816f0d commit cecc5dd

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

doc/cephadm/upgrade.rst

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,18 @@ The automated upgrade process follows Ceph best practices. For example:
2828
disabling the autoscaler for the duration of the upgrade. This is so that
2929
PG splitting or merging in the middle of an upgrade does not unduly delay
3030
upgrade progress. In a very large cluster this could easily increase the
31-
time to complete by a whole day or more, especially if the upgrade happens to
32-
change PG autoscaler behavior by e.g. changing the default value of
33-
the :confval:`mon_target_pg_per_osd`.
34-
|
35-
* ``ceph osd pool set noautoscale``
36-
* Perform the upgrade
37-
* ``ceph osd pool unset noautoscale``
38-
|
31+
time to complete by a day or more, especially if the upgrade happens to
32+
change PG autoscaler behavior by e.g. changing the default value
33+
of :confval:`mon_target_pg_per_osd`.
34+
35+
.. prompt:: bash #
36+
37+
ceph osd pool set noautoscale
38+
# Perform the upgrade
39+
ceph osd pool unset noautoscale
40+
3941
When pausing autoscaler activity in this fashion, the existing values for
40-
each pool's mode, ``off``, ``on``, or ``warn`` are expected to remain.
42+
each pool's mode, ``off``, ``on``, or ``warn``, are expected to remain.
4143
If the new release changes the above target value, there may be splitting
4244
or merging of PGs when unsetting after the upgrade.
4345

0 commit comments

Comments
 (0)