Cloud

rpk cluster storage unmount

This command is only supported in BYOC and Dedicated clusters.

Unmount a topic, removing it from local storage while preserving data in Tiered Storage.

Usage

rpk cluster storage unmount <topic> [flags]

Examples

This section provides examples of how to use rpk cluster storage unmount.

Unmount topic '<my-topic>' from the cluster in the '<my-namespace>'.

rpk cluster storage unmount <my-namespace>/<my-topic>

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.