Docs Self-Managed Reference rpk Commands rpk redpanda rpk redpanda config rpk redpanda config bootstrap This is documentation for Self-Managed v23.2, which is no longer supported. To view the latest available version of the docs, see v24.2. rpk redpanda config bootstrap Initialize the configuration to bootstrap a cluster. This command generates a redpanda.yaml configuration file to bootstrap a cluster. If you are modifying the configuration file further, it is recommended to first bootstrap and then modify. If the file already exists, this command will set fields as requested by flags, and this may undo some of your earlier edits. The --ips flag specifies seed servers (ips, ip:ports, or hostnames) that this broker will use to form a cluster. By default, redpanda expects your machine to have one private IP address, and redpanda will listen on it. If your machine has multiple private IP addresses, you must use the --self flag to specify which ip redpanda should listen on. Usage rpk redpanda config bootstrap [--self <ip>] [--ips <ip1,ip2,...>] [flags] Flags Value Type Description -h, --help - Help for bootstrap. --ips strings Comma-separated list of the seed node addresses or hostnames; at least three are recommended. --self string Optional IP address for redpanda to listen on; if empty, defaults to a private address. --config string Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD, and /etc/redpanda/redpanda.yaml. -X, --config-opt stringArray Override rpk configuration settings; '-X help' for detail or '-X list' for terser detail. --profile string rpk profile to use. -v, --verbose - Enable verbose logging. Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution rpk redpanda config rpk redpanda config init