Skip to content

Commit 978ab83

Browse files
committed
doc/rados/configuration: Mention show-with-defaults and ceph-conf
A small improvement based on "Why is it still so difficult to just dump all config and where it comes from?" https://lists.ceph.io/hyperkitty/list/[email protected]/thread/EZSLRYBYEWDA6YIARQVMUKQUWHAE3PGR/ `show-with-defaults` is very useful, and `ceph-conf` is mentioned so that it's clear that it's legacy, and the user doesn't have to wonder if it's actually useful but was forgotten in the list. Signed-off-by: Niklas Hambüchen <[email protected]>
1 parent 6fc8894 commit 978ab83

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/rados/configuration/ceph-conf.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,9 @@ The following CLI commands are used to configure the cluster:
519519
the command line or at runtime via admin socket, ``ceph tell``, or ``ceph daemon``
520520
commands. The source of each option value is displayed.
521521

522+
* ``ceph config show-with-defaults <who>`` is like the above,
523+
but also shows all defaults, and for changed values, where they are changed.
524+
522525
* ``ceph config assimilate-conf -i <input_file> -o <output_file>`` ingests a
523526
configuration file from *input_file* and sets any valid options found into the
524527
Monitor configuration database. Any settings that are unrecognized, are
@@ -527,6 +530,8 @@ The following CLI commands are used to configure the cluster:
527530
useful when transitioning from legacy configuration files to centralized
528531
Monitor-based configuration.
529532

533+
* ``ceph-conf --show-config`` is a legacy command.
534+
530535
Note that ``ceph config get <who> [<option>]`` and ``ceph config show
531536
<who>`` will not necessarily return the same values. The former
532537
command shows only compiled-in default values. In order to determine whether a

0 commit comments

Comments
 (0)