diff options
| author | Alexander Petrukhin <[email protected]> | 2025-01-10 00:07:12 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-01-09 21:07:12 +0000 |
| commit | 046fc2f028484e755d2e45ce1f9637cd5ac83e35 (patch) | |
| tree | 4e38aa8b89d43a26a0830541d4431d5aff0803f4 | |
| parent | 3a97a180a9197b3e1af947fb88bea0a2a4d2affc (diff) | |
[ydbd_slice] add TMemoryControllerConfig to options (#13250)
| -rw-r--r-- | ydb/tools/cfg/base.py | 1 | ||||
| -rw-r--r-- | ydb/tools/cfg/static.py | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ydb/tools/cfg/base.py b/ydb/tools/cfg/base.py index f60e65069c1..7f6e5a1661e 100644 --- a/ydb/tools/cfg/base.py +++ b/ydb/tools/cfg/base.py @@ -297,6 +297,7 @@ class ClusterDetailsProvider(object): self.table_profiles_config = self.__cluster_description.get("table_profiles_config") self.http_proxy_config = self.__cluster_description.get("http_proxy_config") self.blob_storage_config = self.__cluster_description.get("blob_storage_config") + self.memory_controller_config = self.__cluster_description.get("memory_controller_config", {}) self.channel_profile_config = self.__cluster_description.get("channel_profile_config") self.pdisk_key_config = self.__cluster_description.get("pdisk_key_config", {}) if not self.need_txt_files and not self.use_new_style_kikimr_cfg: diff --git a/ydb/tools/cfg/static.py b/ydb/tools/cfg/static.py index d916edcbf08..4429c7cc402 100644 --- a/ydb/tools/cfg/static.py +++ b/ydb/tools/cfg/static.py @@ -422,6 +422,9 @@ class StaticConfigGenerator(object): if self.__cluster_details.http_proxy_config is not None: normalized_config["http_proxy_config"] = self.__cluster_details.http_proxy_config + if self.__cluster_details.memory_controller_config is not None: + normalized_config["memory_controller_config"] = self.__cluster_details.memory_controller_config + if self.__cluster_details.blob_storage_config is not None: normalized_config["blob_storage_config"] = self.__cluster_details.blob_storage_config else: |
