rpk redpanda admin brokers list
List the brokers in your cluster.
This command lists all brokers in the cluster, active and inactive, unless they have been decommissioned. Using the “--include-decommissioned” flag, it lists decommissioned brokers with associated UUIDs too.
The output table contains the following columns:
| Value | Description |
|---|---|
|
Node ID, an exclusive identifier for a broker |
|
Internal RPC address for communication between brokers |
|
Internal RPC port for communication between brokers |
|
Assigned rack ID |
|
Number of cores ( |
|
Whether a broker is decommissioned or not |
|
Whether a broker is alive or offline |
|
Broker version |
|
Additional exclusive identifier for a broker |
| The UUID column is hidden when the cluster doesn’t expose the UUID in the Admin API, or the API call fails to retrieve UUIDs. |
Use the --detailed flag to display an additional DISK SPACE section showing
per-mount-path disk usage for each broker. The disk space table has the
following columns:
| Value | Description |
|---|---|
|
Broker node ID |
|
Mount path on the broker |
|
Free disk space ( |
|
Total disk space ( |
|
Percentage of disk space used |
When using --format json or --format yaml, disk space information is always
included regardless of the --detailed flag.
Flags
| Value | Type | Description |
|---|---|---|
|
bool |
If true, include per-broker disk space information. |
|
string |
Output format ( |
|
bool |
If true, include decommissioned brokers. |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |