YDB Cluster Configuration

The cluster configuration is specified in the YAML file passed in the --yaml-config parameter when the cluster nodes are run. This article provides an overview of the main configuration sections and links to detailed documentation for each section.

Each configuration section serves a specific purpose in defining how the YDB cluster operates, from hardware resource allocation to security settings and feature flags. The configuration is organized into logical groups that correspond to different aspects of cluster management and operation.

Configuration Sections

The following top-level configuration sections are available, listed in alphabetical order:

Section

Required

Description

actor_system_config

Yes

CPU resource allocation across actor system pools

auth_config

No

Authentication and authorization settings

blob_storage_config

No

Static cluster group configuration for system tablets

client_certificate_authorization

No

Client certificate authentication

domains_config

No

Cluster domain configuration including Blob Storage and State Storage

feature_flags

No

Feature flags to enable or disable specific YDB features

healthcheck_config

No

Health check service thresholds and timeout settings

hive_config

No

Hive component configuration for tablet management

host_configs

No

Typical host configurations for cluster nodes

hosts

Yes

Static cluster nodes configuration

log_config

No

Logging configuration and parameters

memory_controller_config

No

Memory allocation and limits for database components

node_broker_config

No

Stable node names configuration

resource_broker_config

No

Resource broker for controlling CPU and memory consumption

security_config

No

Security configuration settings

tls

No

TLS configuration for secure connections

Practical Guidelines

While this documentation section focuses on complete reference documentation for available settings, practical recommendations on what to tune and when can be found in the following places:

Sample cluster configurations

You can find model cluster configurations for deployment in the repository. Check them out before deploying a cluster.