rpk cluster upgrade status

Show the cluster upgrade finalization status.

This reports where the cluster sits in the upgrade-finalization lifecycle as seen by the controller leader: the high-level state (finalized, ready to finalize, or upgrade in progress), the active and post-finalization logical versions, whether auto-finalization is enabled, the logical versions the brokers report, and a per-broker breakdown of reported versions and liveness.

The 'Logical versions present' row lists one version when the cluster is at rest and two during a rolling upgrade, leaving out brokers whose version the controller leader has not received yet. When more than two are present, the command prints a warning below the summary: the cluster cannot finalize until every broker runs the same version, so upgrade the lagging brokers.

This command was introduced in version v26.2.1.

Usage

rpk cluster upgrade status [flags]

Flags

Value Type Description

--format

string

Output format (json,yaml,text,wide,help). Default: text.

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.