yc managed-clickhouse shards update
Modify configuration or attributes of a ClickHouse shard.
Command Usage
Syntax:
yc managed-clickhouse shards update <SHARD-NAME> [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
ID of the ClickHouse cluster. |
|
|
Name of the ClickHouse cluster. |
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
|
|
Shard name. |
|
|
New resource preset for computational resources (CPU, RAM etc.) available to a ClickHouse host in the shard. |
|
|
Volume of the storage available to ClickHouse hosts in the shard in GB. |
|
|
Storage type for ClickHouse hosts in the shard. |
|
|
Disk size limit of the shard in the cluster (GB). |
|
|
Planned usage threshold of the shard in the cluster. |
|
|
Emergency usage threshold of the shard in the cluster. |
|
|
New weight of a ClickHouse host in the shard. |
|
|
Allows or denies re-creation of replicas during update of cluster configuration. The option must be enabled for configuration changes including disk type change. NOTE: Only data of replicated tables will be preserved during host re-creation. Data of non-replicated tables will be lost. |
Global Flags
|
Flag |
Description |
|
|
Set the custom configuration file. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
CLI syntax: 1 (legacy) or 2 (current). Omit to use default-syntax in the profile or the product default. |
|
|
Set the ID of the cloud to use. |
|
|
Set the ID of the folder to use. |
|
|
Set the name of the folder to use (will be resolved to id). |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the OAuth token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Query to select values from the response using jq syntax |
|
|
Display help for the command. |