]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rados/configuration: Mention show-with-defaults and ceph-conf 64074/head
authorNiklas Hambüchen <mail@nh2.me>
Sat, 21 Jun 2025 17:46:13 +0000 (19:46 +0200)
committerNiklas Hambüchen <mail@nh2.me>
Wed, 20 Aug 2025 19:31:27 +0000 (21:31 +0200)
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/ceph-users@ceph.io/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 <mail@nh2.me>
doc/rados/configuration/ceph-conf.rst

index 8eef549f96a4e83547ef426f238de11529050a00..b957ae5d9cd4882a3b9df714e903281fd72b09b0 100644 (file)
@@ -519,6 +519,9 @@ The following CLI commands are used to configure the cluster:
   the command line or at runtime via admin socket, ``ceph tell``, or ``ceph daemon``
   commands. The source of each option value is displayed.
 
+* ``ceph config show-with-defaults <who>`` is like the above,
+  but also shows all defaults, and for changed values, where they are changed.
+
 * ``ceph config assimilate-conf -i <input_file> -o <output_file>`` ingests a
   configuration file from *input_file* and sets any valid options found into the
   Monitor configuration database. Any settings that are unrecognized, are
@@ -527,6 +530,8 @@ The following CLI commands are used to configure the cluster:
   useful when transitioning from legacy configuration files to centralized
   Monitor-based configuration.
 
+* ``ceph-conf --show-config`` is a legacy command.
+
 Note that ``ceph config get <who> [<option>]`` and ``ceph config show
 <who>`` will not necessarily return the same values. The former
 command shows only compiled-in default values. In order to determine whether a