rpk cluster config export
Export cluster configuration.
Writes out a YAML representation of the cluster configuration to a file,
suitable for editing and later applying with the corresponding import
command.
By default, low level tunables are excluded: use the --all
flag
to include all properties including these low level tunables.
Flags
Value | Type | Description |
---|---|---|
|
string |
path to file to export to, for example ` ./config.yml` |
|
- |
Help for export. |
|
string |
The certificate to be used for TLS authentication with the Admin API. |
|
- |
Enable TLS for the Admin API (not necessary if specifying custom certs). |
|
string |
The certificate key to be used for TLS authentication with the Admin API. |
|
string |
The truststore to be used for TLS communication with the Admin API. |
|
- |
Include all properties, including tunables. |
|
string |
Comma-separated list of admin API addresses (<ip>:<port>). |
|
strings |
Comma-separated list of broker <ip>:<port> pairs
(for example,
|
|
string |
Redpanda config file, if not set the file will be searched for in the default locations. |
|
string |
SASL password to be used for authentication. |
|
string |
The authentication mechanism to use. Supported values: SCRAM-SHA-256, SCRAM-SHA-512. |
|
string |
The certificate to be used for TLS authentication with the broker. |
|
- |
Enable TLS for the Kafka API (not necessary if specifying custom certs). |
|
string |
The certificate key to be used for TLS authentication with the broker. |
|
string |
The truststore to be used for TLS communication with the broker. |
|
string |
SASL user to be used for authentication. |
|
- |
Enable verbose logging (default |