Skip to content

Commit 467f2ff

Browse files
paulohtb6micheleRP
andauthored
rpk: update reference with dec 12th (#1515)
Co-authored-by: Michele Cyran <[email protected]>
1 parent bc2c791 commit 467f2ff

File tree

10 files changed

+38
-6
lines changed

10 files changed

+38
-6
lines changed

modules/reference/pages/rpk/rpk-cluster/rpk-cluster-config-set.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ rpk cluster config set <key> <value> [flags]
4343

4444
|-h, --help |- |Help for set.
4545

46+
|--no-confirm |- |Disable confirmation prompt.
47+
48+
|--timeout |duration |Maximum time to poll for operation completion before displaying operation ID for manual status checking (for example `300ms`, `1.5s`, `30s`). Default `10s`.
49+
4650
|--config |string |Redpanda or `rpk` config file; default search paths are `/var/lib/redpanda/.config/rpk/rpk.yaml`, `$PWD/redpanda.yaml`, and `/etc/redpanda/redpanda.yaml`.
4751

4852
|-X, --config-opt |stringArray |Override `rpk` configuration settings. See xref:reference:rpk/rpk-x-options.adoc[`rpk -X`] or execute `rpk -X help` for inline detail or `rpk -X list` for terser detail.

modules/reference/pages/rpk/rpk-debug/rpk-debug-bundle.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ supported, e.g. 3MB, 1GiB (default `132MB`).
9999

100100
|-h, --help |- |Display documentation for `rpk debug bundle`.
101101

102+
|--kafka-connections-limit |int |The maximum number of Kafka connections to store in the bundle (k8s only). Default `256`.
103+
102104
|-l, --label-selector |stringArray |Comma-separated label selectors to filter your resources. e.g: <label>=<value>,<label>=<value> (k8s only) (default ` [app.kubernetes.io/name=redpanda]`).
103105

104106
|--logs-since |string |Include logs dated from specified date onward. This flag accepts a `journalctl` date format such as `YYYY-MM-DD`, `yesterday`, or `today`. Refer to the link:https://man7.org/linux/man-pages/man1/journalctl.1.html[`journalctl` documentation] for more options (default `yesterday`).

modules/reference/pages/rpk/rpk-debug/rpk-debug-remote-bundle-start.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ rpk debug remote-bundle start [flags]
2727

2828
|-h, --help |- |Help for start.
2929

30+
|--kafka-connections-limit |int |The maximum number of Kafka connections to store in the bundle. Default `256`.
31+
3032
|--job-id |string |Custom UUID assigned to the job that generates the debug bundle.
3133

3234
|-l, --label-selector |stringArray |(K8s only) Comma-separated label selectors to filter your resources. For example: `<label>=<value>,<label>=<value>` (default `[app.kubernetes.io/name=redpanda]`).

modules/reference/pages/rpk/rpk-iotune.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,23 @@ rpk iotune [flags]
2424

2525
|--directories |strings |List of directories to evaluate.
2626

27-
|--duration |duration |Duration of tests.The value passed is a sequence
27+
|--duration |duration |Duration of tests. The value passed is a sequence
2828
of decimal numbers, each with optional fraction and a unit suffix, such
2929
as `300ms`, `1.5s` or `2h45m`. Valid time units are `ns`, `us` (or
30-
`µs`), `ms`, `s`, `m`, `h` (default 10m0s).
30+
`µs`), `ms`, `s`, `m`, `h` (default `10m0s`).
3131

3232
|-h, --help |- |Help for iotune.
3333

34+
|--iotune-path |string |Path to the iotune executable (default: `iotune-redpanda`).
35+
3436
|--no-confirm |- |Disable confirmation prompt if the iotune file already
3537
exists.
3638

3739
|--out |string |The file path where the IO config will be written
3840
(default "/etc/redpanda/io-config.yaml").
3941

4042
|--timeout |duration |The maximum time after -- to wait for iotune to
41-
complete (e.g. 300ms, 1.5s, 2h45m) (default 1h0m0s).
43+
complete (for example, `300ms`, `1.5s`, `2h45m`). Default `1h0m0s`.
4244

4345
|--config |string |Redpanda or `rpk` config file; default search paths are `/var/lib/redpanda/.config/rpk/rpk.yaml`, `$PWD/redpanda.yaml`, and `/etc/redpanda/redpanda.yaml`.
4446

modules/reference/pages/rpk/rpk-shadow/rpk-shadow-config-generate.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ Generate a configuration file for creating a shadow link.
55

66
By default, this command creates a sample configuration file with placeholder values that you customize for your environment.
77

8+
ifdef::env-cloud[]
9+
Use the `--for-cloud` flag when generating your configuration.
10+
endif::[]
11+
812
Use the `--print-template` flag to generate a configuration template with detailed field documentations.
913

1014
By default, this command prints the configuration to standard output. Use the `--output` flag to save the configuration to a file.
@@ -53,6 +57,10 @@ rpk shadow config generate --print-template -o shadow-link.yaml
5357
|===
5458
|*Value* |*Type* |*Description*
5559

60+
ifdef::env-cloud[]
61+
|--for-cloud |- |Generate configuration suitable for Cloud deployments.
62+
63+
endif::[]
5664
|-o, --output |string |File path identifying where to save the generated configuration file. If not specified, prints to standard output.
5765

5866
|--print-template |- |Generate a configuration template with field documentation instead of a sample configuration.

modules/reference/pages/rpk/rpk-shadow/rpk-shadow-create.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ This command creates a shadow link using a configuration file that defines the c
77

88
Before you create a shadow link, generate a configuration file with xref:reference:rpk/rpk-shadow/rpk-shadow-config-generate.adoc[`rpk shadow config generate`] and update it with your source cluster details. The command prompts you to confirm the creation. Use the `--no-confirm` flag to skip the confirmation prompt.
99

10+
ifdef::env-cloud[]
11+
When creating a shadow link in Redpanda Cloud, use the `--for-cloud` flag.
12+
13+
First log in and select the cluster where you want to create the shadow link before running this command. See xref:reference:rpk/rpk-cloud/rpk-cloud-login.adoc[`rpk cloud login`] and xref:reference:rpk/rpk-cloud/rpk-cloud-select.adoc[`rpk cloud select`]. For SCRAM authentication, store your password in the shadow cluster's secrets store (using either the cluster's secret store or xref:reference:rpk/rpk-security/rpk-security-secret.adoc[`rpk security secret`]), then reference it in your configuration file using `${secrets.SECRET_NAME}` syntax.
14+
endif::[]
15+
1016
After you create the shadow link, use xref:reference:rpk/rpk-shadow/rpk-shadow-status.adoc[`rpk shadow status`] to monitor the replication progress.
1117

1218
== Usage

modules/reference/pages/rpk/rpk-shadow/rpk-shadow-describe.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ This command shows the shadow link configuration, including connection settings,
77

88
By default, the command displays the overview and client configuration sections. Use the flags to display additional sections such as topic synchronization, consumer offset synchronization, and security synchronization settings.
99

10+
ifdef::env-cloud[]
11+
The command uses the Redpanda ID of the cluster you are currently logged into. To use a different cluster, either log in and create a profile for it, or use the `--redpanda-id` flag to specify it directly.
12+
endif::[]
13+
1014
== Usage
1115

1216
[,bash]

modules/reference/pages/rpk/rpk-shadow/rpk-shadow-failover.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33

44
Failover a Redpanda shadow link.
55

6-
This command performs a failover operation for a shadow link. Failover converts shadow topics into regular topics on the destination cluster, allowing producers and consumers to interact with them directly. After failover, the shadow link stops replicating data from the source cluster.
6+
Failover converts shadow topics into regular topics on the shadow cluster, allowing producers and consumers to interact with them directly. After failover, the shadow link stops replicating data from the source cluster.
77

88
Use the `--all` flag to failover all shadow topics associated with the shadow link, or use the `--topic` flag to failover a specific topic. You must specify either `--all` or `--topic`.
99

1010
The command prompts you to confirm the failover operation. Use the `--no-confirm` flag to skip the confirmation prompt.
1111

12-
WARNING: Failover is a critical operation. After failover, shadow topics become regular topics and replication stops. Ensure your applications are ready to connect to the destination cluster before performing a failover.
12+
WARNING: Failover is a critical operation. After failover, shadow topics become regular topics and replication stops. Ensure your applications are ready to connect to the shadow cluster before performing a failover.
1313

1414
== Usage
1515

modules/reference/pages/rpk/rpk-shadow/rpk-shadow-list.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ rpk shadow list [flags]
1818
|===
1919
|*Value* |*Type* |*Description*
2020

21+
|--format |string |Output format. Possible values: `json`, `yaml`, `text`, `wide`, `help`. Default: `text`.
22+
2123
|-h, --help |- |Help for list.
2224

2325
|--config |string |Redpanda or `rpk` config file; default search paths are `/var/lib/redpanda/.config/rpk/rpk.yaml`, `$PWD/redpanda.yaml`, and `/etc/redpanda/redpanda.yaml`.

modules/reference/pages/rpk/rpk-shadow/rpk-shadow-status.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Shows the status of a Redpanda shadow link.
55

66
This command shows the current status of a shadow link, including the overall state, task statuses, and per-topic replication progress. Use this command to monitor replication health and track how closely shadow topics follow the source cluster.
77

8-
By default, the command displays all status sections. Use the flags to display specific sections such as overview, task status, or topic status.
8+
By default, the command displays all status sections. Use the `--print-*` flags to select specific sections (overview, task status, or topic status). The `--format json|yaml` flag changes only the output format, not which sections are included.
99

1010
== Usage
1111

@@ -38,6 +38,8 @@ rpk shadow status my-shadow-link --print-overview --print-topic
3838

3939
|-a, --print-all |- |Print all sections.
4040

41+
|--format |string |Output format. Possible values: `json`, `yaml`, `text`, `wide`, `help`. Default: `text`.
42+
4143
|-o, --print-overview |- |Print the overview section.
4244

4345
|-k, --print-task |- |Print the task status section.

0 commit comments

Comments
 (0)