rpk redpanda config bootstrap
Initialize the configuration to bootstrap a cluster.
--id
is mandatory. bootstrap will expect the machine it’s running on
to have only one private non-loopback IP address associated to it,
and use it in the configuration as the node’s address.
If it has multiple IPs, --self
must be specified.
In that case, the given IP will be used without checking whether it’s
among the machine’s addresses or not.
The elements in --ips
must be separated by a comma, no spaces.
If omitted, the node will be configured as a root node, that other ones can join later.
Flags
Value | Type | Description |
---|---|---|
--config |
string |
Redpanda config file, if not set the file will be searched for in the default location. |
-h, --help |
- |
Help for bootstrap. |
--id |
int |
This node’s ID (required). (default -1). |
--ips |
strings |
The list of known node addresses or hostnames. |
--self |
string |
Hint at this node’s IP address from within the list
passed in\{" "} |
-v, --verbose |
- |
Enable verbose logging (default |