rpk redpanda config

Edit configuration.

This command is only available on Linux.

Usage

rpk redpanda config [flags]

Subcommands

Command Description

rpk redpanda config bootstrap

Initialize the configuration to bootstrap a cluster. This command generates a redpanda.yaml configuration file to bootstrap a cluster.

rpk redpanda config init

This command has been deprecated.

rpk redpanda config print

Display the selected node configuration.

rpk redpanda config set

Set node configuration values, such as the list of seed servers or the ports that various APIs listen on This command modifies the redpanda.yaml you have locally on disk. The first argument is the key within the yaml representing a property / field that you would like to set.

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.