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.

Use this command only when Redpanda isn’t running.

Usage

rpk cluster config force-reset [PROPERTY...] [flags]

Flags

Value Type Description

--cache-file

string

location of configuration cache file (defaults to redpanda data directory).

-h, --help

-

Help for force-reset.

--all

-

Include all properties, including tunables.

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