rpk cluster partitions movement-cancel
Cancel ongoing partition movements.
By default, this command cancels all the partition movements in the cluster.
To ensure that you do not accidentally cancel all partition movements, this
command prompts users for confirmation before issuing the cancellation request.
You can use --no-confirm
to disable the confirmation prompt:
rpk cluster partitions movement-cancel --no-confirm
If --node
is set, this command will only stop the partition movements
occurring in the specified node:
rpk cluster partitions movement-cancel --node 1
Flags
Value | Type | Description |
---|---|---|
|
- |
Help for movement-cancel. |
|
- |
Disable confirmation prompt. |
|
int |
ID of a specific node on which to cancel ongoing partition movements (default -1). |
|
string |
Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD, and /etc/redpanda/redpanda.yaml. |
|
stringArray |
Override rpk configuration settings; '-X help' for detail or '-X list' for terser detail. |
|
string |
rpk profile to use. |
|
- |
Enable verbose logging. |