ctk settings¶
CrateDB Toolkit’s “Settings” subsystem provides tools to list and compare default vs. runtime settings.
Install¶
uv pip install 'cratedb-toolkit[settings]'
Usage¶
List default settings¶
This tool extracts settings from CrateDB’s documentation and outputs them in either JSON, YAML or Markdown formats, or SQL statements to set the default value.
It parses the HTML structure of the documentation to identify settings, their descriptions, default values, and whether they are runtime-configurable or not.
ctk settings list
Compare settings¶
Compare CrateDB cluster settings against default values.
Acquire default settings from CrateDB’s documentation and runtime settings from a CrateDB cluster and compare them against each other.
Also handles memory and time-based settings with appropriate tolerances.
export CRATEDB_CLUSTER_URL=crate://crate@localhost:4200/
ctk settings compare
Example output
Tip
Append the --help
command-line flag to inquire available CLI options.
ctk settings {list,compare} --help