rpk cluster

Manage and inspect Redpanda cluster configuration, health, and maintenance operations.

Usage

rpk cluster [flags]

Subcommands

Command Description

rpk cluster config

View and modify cluster-wide configuration properties. Changes take effect across all brokers.

rpk cluster connections

Manage and monitor cluster connections.

rpk cluster health

Query cluster health and display the overall health status of the cluster. Redpanda collects health reports periodically from all nodes and aggregates them into a health overview.

rpk cluster info

Request broker metadata information. The Kafka protocol’s metadata contains information about brokers, topics, and the cluster as a whole.

rpk cluster license

Manage cluster license.

rpk cluster logdirs

Describe log directories on Redpanda brokers.

rpk cluster maintenance

Manage cluster maintenance mode for performing rolling upgrades and other maintenance operations.

rpk cluster partitions

Manage cluster partitions.

rpk cluster quotas

Manage Redpanda client quotas.

rpk cluster self-test

Start, stop and query runs of Redpanda self-test through the Admin API listener.

rpk cluster storage

Manage cluster storage, including mounting and unmounting topics from Tiered Storage.

rpk cluster txn

Information about transactions and transactional producers. Transactions allow producing, or consume-modifying-producing, to Redpanda.

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.