rpk redpanda admin brokers

View and configure Redpanda brokers through the admin listener.

Usage

rpk redpanda admin brokers [flags]

Subcommands

Command Description

rpk redpanda admin brokers decommission

Decommission the given broker. Decommissioning a broker removes it from the cluster.

rpk redpanda admin brokers decommission-status

Show the progress of a node decommissioning. When a node is being decommissioned, this command reports the decommissioning progress as follows, where PARTITION-SIZE is in bytes.

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.

rpk redpanda admin brokers recommission

Recommission the given broker if is is still decommissioning. Recommissioning can stop an active decommission.

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.