rpk cluster partitions move-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.

Example

You can use --no-confirm to disable the confirmation prompt:

rpk cluster partitions move-cancel --no-confirm

If --node is set, this command will only stop the partition movements occurring in the specified broker:

rpk cluster partitions move-cancel --node 1

Usage

rpk cluster partitions move-cancel [flags]

Aliases

move-cancel, alter-cancel

Flags

Value Type Description

-h, --help

-

Help for move-cancel.

--no-confirm

-

Disable confirmation prompt.

--node

int

ID of a specific broker on which to cancel ongoing partition movements (default -1).

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