# rpk cluster partitions

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [streaming-full.txt](https://docs.redpanda.com/streaming-full.txt)

---
title: rpk cluster partitions
latest-redpanda-tag: v26.1.14
latest-console-tag: v3.10.0
latest-operator-version: v26.2.1
# EOL = End-of-Life (support lifecycle status)
page-is-nearing-eol: "false"
page-is-past-eol: "false"
page-eol-date: March 31, 2027
latest-connect-version: 4.104.0
docname: rpk/rpk-cluster/rpk-cluster-partitions
page-component-name: streaming
page-version: "26.1"
page-component-version: "26.1"
page-component-title: Streaming
page-relative-src-path: rpk/rpk-cluster/rpk-cluster-partitions.adoc
page-edit-url: https://github.com/redpanda-data/docs/edit/v/26.1/modules/reference/pages/rpk/rpk-cluster/rpk-cluster-partitions.adoc
description: Manage cluster partitions.
page-git-created-date: "2023-05-17"
page-git-modified-date: "2026-07-17"
support-status: supported
---

<!-- Source: https://docs.redpanda.com/streaming/26.1/reference/rpk/rpk-cluster/rpk-cluster-partitions.md -->

Manage cluster partitions.

## [](#usage)Usage

```bash
rpk cluster partitions [flags]
```

## [](#subcommands)Subcommands

| Command | Description |
| --- | --- |
| rpk cluster partitions balance | Trigger on-demand partition balancing to redistribute partitions evenly across brokers. Redpanda automatically balances partitions when it detects imbalance; run this command to trigger balancing manually. |
| rpk cluster partitions balancer-status | 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. |
| rpk cluster partitions disable | Disable partitions of a topic You may disable all partitions of a topic using the --all flag or you may select a set of topic/partitions to disable with the --partitions/-p flag. The partition flag accepts the format {namespace}/{topic}/[partitions…​] where namespace and topic are optional parameters. |
| rpk cluster partitions enable | Enable partitions of a topic You may enable all partitions of a topic using the --all flag or you may select a set of topic/partitions to enable with the --partitions/-p flag. The partition flag accepts the format {namespace}/{topic}/[partitions…​] where namespace and topic are optional parameters. |
| rpk cluster partitions list | List partitions in the cluster. This command lists the cluster-level metadata of all partitions, including current replica assignments on brokers and CPU cores for given topics. |
| rpk cluster partitions move | Move partition replicas across nodes / cores. This command changes replica assignments for given partitions. |
| rpk cluster partitions move-cancel | Cancel ongoing partition movements. By default, this command cancels all the partition movements in the cluster. |
| rpk cluster partitions move-status | Show ongoing partition movements. By default this command lists all ongoing partition movements in the cluster. |
| rpk cluster partitions transfer-leadership | Transfer partition leadership between brokers. This command allows you to transfer partition leadership. |
| rpk cluster partitions unsafe-recover | 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 --from-nodes flag. |

## [](#global-flags)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. |