Repository navigation
doc: Document ceph-mgr module configuration options - #64161
Conversation
There was a problem hiding this comment.
There was a problem hiding this comment.
I'm going to try to fix it. I think it can be fixed with underscores.
There was a problem hiding this comment.
Oh I'm sorry I should have been more explicit. The underscore by itself on line 100 should probably be just an empty line?
I tried to make a "suggestion" but couldn't see how to make a suggestion for just an empty line.
There was a problem hiding this comment.
(20 minutes later) Actually, an underscore (the lone underscore on line 100) had to be removed.
There was a problem hiding this comment.
Whitespace in the format string looks confusing to me, propose
| * ``secs`` - timespan in format ``"<number> <unit>..."``, e.g., ``"3h 2m 1s"`` or ``"3weeks"`` | |
| * ``secs`` - timespan in format ``"<number><unit> ..."``, e.g., ``"3h 2m 1s"`` or ``"3weeks"`` |
There was a problem hiding this comment.
thanks for pointing this out. the space between the number and unit is actually optional. but for the sake of simplicity, let's drop it as you suggest.
Add comprehensive documentation for defining configuration options in ceph-mgr modules, including all supported properties and their usage. Previously, the documentation did not explain how to define ceph-mgr module configuration options, despite subtle differences from other Ceph components. This change documents all supported Option properties, their types, and provides clear examples to help module developers properly configure their options. Signed-off-by: Kefu Chai <[email protected]>
21a9c37 to
121192f
Compare
|
changelog
|
|
As soon as the docs build is finished, I'll review this and merge it and backport it and then take another look at a batch of mgr-related confval-containing PRs that I made earlier this week, keeping these guidelines in mind. |
Add comprehensive documentation for defining configuration options in ceph-mgr modules, including all supported properties and their usage.
Previously, the documentation did not explain how to define ceph-mgr module configuration options, despite subtle differences from other Ceph components. This change documents all supported Option properties, their types, and provides clear examples to help module developers properly configure their options.
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition