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.
Flags
Value | Type | Description |
---|---|---|
--cache-file |
string |
Location of configuration cache file (defaults to redpanda data directory). |
-h, --help |
- |
Help for force-reset. |
--admin-api-tls-cert |
string |
The certificate to be used for TLS authentication with the Admin API. |
--admin-api-tls-enabled |
- |
Enable TLS for the Admin API (not necessary if specifying custom certs). |
--admin-api-tls-key |
string |
The certificate key to be used for TLS authentication with the Admin API. |
--admin-api-tls-truststore |
string |
The truststore to be used for TLS communication with the Admin API. |
--all |
- |
Include all properties, including tunables. |
--api-urls |
string |
Comma-separated list of admin API addresses (<ip>:<port>). |
--brokers |
strings |
Comma-separated list of broker <ip>:<port> pairs
(for example,
` --brokers \'192.168.78.34:9092,192.168.78.35:9092,192.179.23.54:9092\' `
). Alternatively, you may set the |
--config |
string |
Redpanda config file, if not set the file will be searched for in the default locations. |
--password |
string |
SASL password to be used for authentication. |
--sasl-mechanism |
string |
The authentication mechanism to use. Supported values: SCRAM-SHA-256, SCRAM-SHA-512. |
--tls-cert |
string |
The certificate to be used for TLS authentication with the broker. |
--tls-enabled |
- |
Enable TLS for the Kafka API (not necessary if specifying custom certs). |
--tls-key |
string |
The certificate key to be used for TLS authentication with the broker. |
--tls-truststore |
string |
The truststore to be used for TLS communication with the broker. |
--user |
string |
SASL user to be used for authentication. |
-v, --verbose |
- |
Enable verbose logging (default |