rpk redpanda start
Start Redpanda.
Setting up a mode
It’s possible to setup a mode for redpanda to start. Currently we support the mode dev-container
.
To set up the mode dev-container
run:
rpk redpanda start --mode dev-container
Mode uses well-known configuration properties for development or tests environments:
Bundled flags:
-
--overprovisioned
-
--reserve-memory 0M
-
--check=false
-
--unsafe-bypass-fsync
Bundled cluster properties:
-
auto_create_topics_enabled: true
-
group_topic_partitions: 3
-
storage_min_free_bytes: 10485760 (10MiB)
-
topic_partitions_per_shard: 1000
-
fetch_reads_debounce_timeout: 10
After redpanda starts you can modify the cluster properties using:
rpk config set <key> <value>
Flags
Value | Type | Description |
---|---|---|
|
strings |
A comma-separated list of Kafka addresses to advertise (scheme://host:port|name). |
|
strings |
A comma-separated list of Pandaproxy addresses to advertise (scheme://host:port|name). |
|
string |
The advertised RPC address (host:port). |
|
- |
When set to false will disable system checking before starting redpanda (default true). |
|
- |
Help for start. |
|
string |
Directory where redpanda has been installed. |
|
strings |
A comma-separated list of Kafka listener addresses to bind to (scheme://host:port|name). |
|
string |
Mode sets well-known configuration properties for development or test environments; use --mode help for more info. |
|
strings |
A comma-separated list of Pandaproxy listener addresses to bind to (scheme://host:port|name). |
|
string |
The RPC address to bind to (host:port). |
|
strings |
A comma-separated list of Schema Registry listener addresses to bind to (scheme://host:port|name). |
|
strings |
A comma-separated list of seed nodes to connect to (scheme://host:port|name). |
|
duration |
The maximum time to wait for the checks and tune
processes to complete. The value passed is a sequence of decimal
numbers, each with optional fraction and a unit suffix, such as
|
|
- |
When present will enable tuning before starting Redpanda. |
|
string |
The cloud vendor and VM type, in the format |vendor|:|vm type|:|storage type|. |
|
string |
Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD, and /etc/redpanda/redpanda.yaml. |
|
stringArray |
Override rpk configuration settings; '-X help' for detail or '-X list' for terser detail. |
|
string |
rpk profile to use. |
|
- |
Enable verbose logging. |