Docs Self-Managed Reference rpk Commands rpk cluster rpk cluster partitions rpk cluster partitions list This is documentation for Self-Managed v23.3, which is no longer supported. To view the latest available version of the docs, see v24.3. rpk cluster partitions list List partitions in the cluster. This commands lists the cluster-level metadata of all partitions in the cluster. It shows the current replica assignments on both brokers and CPU cores for given topics. By default, it assumes the kafka namespace, but you can specify an internal namespace using the <namespace>/ prefix. The Replica-Core column displayed in the output table contains a list of replica assignments in the form of <node-id>-<core>. If the Disabled column contains a '-' value, then it means you are running this command against a cluster that does not support the underlying API. Enabled/Disabled Disabling a partition in Redpanda involves prohibiting any data consumption or production to and from it. All internal processes associated with the partition are stopped, and it remains unloaded during system startup. This measure aims to maintain cluster health by preventing issues caused by specific corrupted partitions that may lead to Redpanda crashes. Although the data remains stored on disk, Redpanda ceases interaction with the disabled partitions to ensure system stability. You may disable/enable partition using rpk cluster partitions enable/disable. Examples List all partitions in the cluster: rpk cluster partitions list --all List all partitions in the cluster, filtering for topic foo and bar: rpk cluster partitions list foo bar List only the disabled partitions: rpk cluster partitions list -a --disabled-only List all in JSON format: rpk cluster partition list -a --format json Usage rpk cluster partitions list [TOPICS...] [flags] Aliases list, ls, describe Flags Value Type Description -a, --all - If true, list all partitions in the cluster. --disabled-only - If true, list disabled partitions only. --format string Output format. Possible values: json, yaml, text, wide, help. Default: text. -h, --help - Help for list. -p, --partition - ints List of comma-separated partitions IDs that you wish to filter the results with. --config string Redpanda or rpk config file; default search paths are /var/lib/redpanda/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml. -X, --config-opt stringArray Override rpk configuration settings. See rpk -X or execute rpk -X help for inline detail or rpk -X list for terser detail. --profile string Profile to use. See rpk profile for more details. -v, --verbose - Enable verbose logging. Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution rpk cluster partitions enable rpk cluster partitions balancer-status