Configuration Management

The YDB CLI provides commands for managing the dynamic configuration at different levels of the system.

General command syntax:

ydb [global options...] admin [scope] config [subcommands...]
  • global optionsGlobal parameters.
  • scope — Configuration scope (cluster, node).
  • subcommands — Subcommands for managing configuration.

View the command description:

ydb admin --help

Available Configuration Scopes

Cluster Configuration

Managing cluster-level configuration:

ydb admin cluster config [subcommands...]

Available subcommands:

  • fetch - Fetches the current dynamic cluster configuration.
  • generate - Generates dynamic configuration based on the static configuration on the cluster.
  • replace - Replaces the dynamic configuration.

Node Configuration

Managing node-level configuration:

ydb admin node config [subcommands...]

Available subcommands:

  • init - Initializes the directory for node configuration.