You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`-f, --filename <filename.yaml>` — read input from a file, `-` for STDIN. It can be specified multiple times for commands accepting multiple files (e.g., resolve). The metadata field will determine the file type.
6
-
*`--output-directory <dir>` — dump/resolve files to a directory.
7
-
*`--strip-metadata` — remove the metadata field from the output.
8
-
*`--all` — extend command output to the entire configuration (see advanced configuration).
9
-
*`--allow-unknown-fields` — allow ignoring unknown fields in the configuration.
5
+
Before YDB CLI 2.20.0, the `{{ ydb-cli }} admin cluster config` commands had the following format: `{{ ydb-cli }} admin config`.
10
6
11
-
```bash
12
-
# Apply the configuration dynconfig.yaml to the cluster
# Apply the configuration dynconfig.yaml to the cluster, ignoring version and cluster checks (version and cluster will still be overwritten with correct ones)
- Check if it is possible to apply the configuration dynconfig.yaml to the cluster (check all validators, the configuration version in the yaml file must be 1 higher than the cluster configuration version, the cluster name must match):
- Apply the `dynconfig.yaml` configuration to the cluster, ignoring version and cluster checks (the version and cluster values will be overwritten with correct values):
- Delete temporary configurations with ids 1 and 3 on the cluster:
94
+
95
+
```bash
96
+
{{ ydb-cli }} admin volatile-config drop --id 1 --id 3
97
+
```
98
+
99
+
- Delete all temporary configurations on the cluster:
100
+
101
+
```bash
102
+
{{ ydb-cli }} admin volatile-config drop --all
103
+
```
104
+
105
+
## Parameters
106
+
107
+
*`-f, --filename <filename.yaml>` — read input from a file, `-`for STDIN. For commands that accept multiple files (e.g., resolve), you can specify it multiple times, the file type will be determined by the metadata field
108
+
*`--output-directory <dir>` — dump/resolve files to a directory
109
+
*`--strip-metadata` — remove the metadata field from the output
110
+
*`--all` — extends the output of commands to the entire configuration (see advanced configuration)
111
+
*`--allow-unknown-fields` — allows ignoring unknown fields in the configuration
0 commit comments