rpk cluster partitions
Manage cluster partitions.
Subcommands
| Command | Description |
|---|---|
Triggers on-demand partition balancing. This command allows you to trigger on-demand partition balancing. |
|
Queries cluster for partition balancer status: If continuous partition balancing is enabled, Redpanda will continuously reassign partitions from both unavailable nodes and from nodes using more disk space than the configured limit. Use this command to monitor the partition balancer status and the partition distribution across brokers in the cluster. |
|
Disable partitions of a topic. You may disable all partitions of a topic using the |
|
Enable partitions of a topic. You may enable all partitions of a topic using the |
|
List partitions in the cluster. This commands lists the cluster-level metadata of all partitions in the cluster. |
|
Move partition replicas across nodes / cores. This command changes replica assignments for given partitions. |
|
Cancel ongoing partition movements. By default, this command cancels all the partition movements in the cluster. |
|
Show ongoing partition movements. By default this command lists all ongoing partition movements in the cluster. |
|
Transfer partition leadership between brokers. This command allows you to transfer partition leadership. |
|
Recover unsafely from partitions that have lost majority. This command allows you to unsafely recover all data adversely affected by the loss of the nodes specified in the |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |