Skip to content

Commit 18d52f4

Browse files
KSQL-14849: update golden help fixtures for new 'cluster update' subcommand
CI failure on #3368 was two integration-test golden-file mismatches: - test/fixtures/output/ksql/cluster/help.golden was missing the new 'update' line under Available Commands. - test/fixtures/output/ksql/cluster/update-help.golden didn't exist; the new subcommand needs its own --help fixture. help-onprem.golden is unchanged: the update subcommand is registered only on the cloud-login branch in internal/ksql/command_cluster.go, so on-prem builds don't include it.
1 parent 0ff2c6b commit 18d52f4

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

test/fixtures/output/ksql/cluster/help.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Available Commands:
99
delete Delete one or more ksqlDB clusters.
1010
describe Describe a ksqlDB cluster.
1111
list List ksqlDB clusters.
12+
update Update a ksqlDB cluster.
1213

1314
Global Flags:
1415
-h, --help Show help for this command.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Update an existing ksqlDB cluster. Currently only the CSU count may be
2+
modified, and only to larger sizes (shrink is not supported).
3+
4+
Valid CSU values are 4, 8, 12, 16, 20, 24, 28. Larger sizes require a support ticket.
5+
The cluster will undergo a rolling restart to apply the new size; the
6+
command returns once the resize has been accepted by the control plane.
7+
8+
Usage:
9+
confluent ksql cluster update <id> [flags]
10+
11+
Examples:
12+
Resize ksqlDB cluster "lksqlc-12345" to 8 CSUs.
13+
14+
$ confluent ksql cluster update lksqlc-12345 --csu 8
15+
16+
Flags:
17+
--csu int32 REQUIRED: Target number of CSUs for the cluster. Valid values: 4, 8, 12, 16, 20, 24, 28.
18+
--context string CLI context name.
19+
--environment string Environment ID.
20+
-o, --output string Specify the output format as "human", "json", or "yaml". (default "human")
21+
22+
Global Flags:
23+
-h, --help Show help for this command.
24+
--unsafe-trace Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
25+
-v, --verbose count Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).

0 commit comments

Comments
 (0)