rpk cluster config set
Set a cluster configuration property. You can set a single property or multiple properties at once, for example:
rpk cluster config set audit_enabled true
rpk cluster config set iceberg_enabled=true iceberg_catalog_type=rest
You must use <key>=<value> notation to set multiple properties.
If you set the cluster property value to an empty string, the property is reset to its default.
This command is provided for use in scripts. For interactive editing, or bulk
changes, use the edit and import commands respectively.
For a list of available properties, see Cluster Configuration Properties.
Flags
| Value | Type | Description |
|---|---|---|
|
- |
Help for set. |
|
- |
Include all properties, including tunables. |
|
string |
Redpanda or |
|
stringArray |
Override |
|
string |
Profile to use. See |
|
- |
Enable verbose logging. |
|
Setting properties to non-number values (such as setting string values with
Workaround: Use
|