Docs Self-Managed Reference rpk Commands rpk cluster rpk cluster partitions rpk cluster partitions list This is documentation for Self-Managed v24.2. 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. 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. -n, --node-ids ints List of comma-separated broker IDs you wish to use to filter the results. -p, --partition ints List of comma-separated partitions IDs you wish to use to filter the results. --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. 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 partitions with replicas that are assigned to brokers 1 and 2. rpk cluster partitions list foo --node-ids 1,2 List only the disabled partitions: rpk cluster partitions list -a --disabled-only List all in JSON format: rpk cluster partition list -a --format json 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