rpk cluster

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

Usage

rpk cluster [flags]

Subcommands

Command Description

rpk cluster brokers

Manage Redpanda cluster brokers.

rpk cluster config

View and modify Redpanda cluster configuration properties. Modified properties are propagated immediately to all brokers.

rpk cluster connections

Manage and monitor cluster connections.

rpk cluster health

Queries cluster for health overview. Health overview is created based on the health reports collected periodically from all nodes in the cluster.

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 loggers

List and configure Redpanda broker loggers.

rpk cluster maintenance

Interact with cluster maintenance mode. Maintenance mode is a state that a node may be placed into in which the node may be shutdown or restarted with minimal disruption to client workloads.

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.

rpk cluster upgrade

Check and finalize major-version upgrades. When the cluster configuration features_auto_finalization is disabled, an upgrade stays pending after all brokers are on the new version, so you can downgrade while soak-testing.

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.