rpk cluster config force-reset

Forcibly clear a cluster configuration property on this node.

This command is not for general changes to cluster configuration: use this only when Redpanda will not start due to a configuration issue.

If your cluster is working properly and you would like to reset a property to its default, you may use the set command with an empty string, or use the edit command and delete the property’s line.

This command erases a named property from an internal cache of the cluster configuration on the local node, so that on next startup Redpanda will treat the setting as if it was set to the default.

this should only be used when Redpanda is not running.

Usage

rpk cluster config force-reset <property...> [flags]

Flags

Value Type Description

--cache-file

string

Location of the configuration cache file. Defaults to the Redpanda data directory.

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.