---
title: rpk redpanda admin brokers decommission-status
latest-operator-version: v2.2.0-24.2.2
# EOL = End-of-Life (support lifecycle status)
page-is-nearing-eol: "false"
page-is-past-eol: "true"
page-eol-date: July 31, 2025
latest-console-tag: v3.14.0
latest-connect-version: 4.118.0
docname: rpk/rpk-redpanda/rpk-redpanda-admin-brokers-decommission-status
page-component-name: streaming
page-version: "24.2"
page-component-version: "24.2"
page-component-title: Streaming
page-relative-src-path: rpk/rpk-redpanda/rpk-redpanda-admin-brokers-decommission-status.adoc
page-edit-url: https://github.com/redpanda-data/docs/edit/v/24.2/modules/reference/pages/rpk/rpk-redpanda/rpk-redpanda-admin-brokers-decommission-status.adoc
page-git-created-date: "2023-08-04"
page-git-modified-date: "2024-04-30"
page-generated-content: none
support-status: past end-of-life
---

# rpk redpanda admin brokers decommission-status

> 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)

<!-- Source: https://docs.redpanda.com/streaming/24.2/reference/rpk/rpk-redpanda/rpk-redpanda-admin-brokers-decommission-status.md -->

> ❗ **IMPORTANT**
>
> This command is not supported on macOS, Windows.

Show the progress of a broker decommissioning.

When a node is in the process of being decommissioned, this command reports the decommissioning progress as follows, where PARTITION-SIZE is in bytes. Using -H, it prints the partition size in a human-readable format.

```bash
$ rpk redpanda admin brokers decommission-status 4
DECOMMISSION PROGRESS
=====================
NAMESPACE-TOPIC              PARTITION  MOVING-TO  COMPLETION-%  PARTITION-SIZE
kafka/test                   0          3          9             1699470920
kafka/test                   4          3          0             1614258779
kafka/test2                  3          3          3             2722706514
kafka/test2                  4          3          4             2945518089
kafka_internal/id_allocator  0          3          0             3562
```

Using --detailed / -d, it additionally prints granular reports.

```bash
$ rpk redpanda admin brokers decommission-status 4 -d
DECOMMISSION PROGRESS
=====================
NAMESPACE-TOPIC  PARTITION  MOVING-TO  COMPLETION-%  PARTITION-SIZE  BYTES-MOVED  BYTES-REMAINING
kafka/test       0          3          13            1731773243      228114727    1503658516
kafka/test       4          3          1             1645952961      18752660     1627200301
kafka/test2      3          3          5             2752632301      140975805    2611656496
kafka/test2      4          3          6             2975443783      181581219    2793862564
```

If for some reason a partition cannot be moved, the command reports the problematic partition in the 'ALLOCATION FAILURES' section and the decommission fails. A typical failure scenario would be when no node has enough space to allocate a partition, or cannot satisfy rack constraints.

```bash
ALLOCATION FAILURES
==================
kafka/foo/2
kafka/test/0
```

## Usage

```bash
rpk redpanda admin brokers decommission-status [BROKER ID] [flags]
```

## Flags

| **Value** | **Type** | **Description** |
| --- | --- | --- |
| `-d, --detailed` | - | Print how much data moved and remaining in bytes. |
| `-H, --human-readable` | - | Print the partition size in a human-readable form. |
| `-h, --help` | - | Help for decommission-status. |
| `--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`](https://docs.redpanda.com/streaming/24.2/reference/rpk/rpk-x-options/) or execute `rpk -X help` for inline detail or `rpk -X list` for terser detail. |
| `--profile` | string | Profile to use. See [`rpk profile`](https://docs.redpanda.com/streaming/24.2/reference/rpk/rpk-profile/rpk-profile/) for more details. |
| `-v, --verbose` | - | Enable verbose logging. |