rpk redpanda start
| This command is not supported on macOS, Windows. |
Start Redpanda.
Set up a mode
Redpanda supports a dev-container mode with preset configuration for development and test environments.
Run the following command to start Redpanda in dev-container mode:
rpk redpanda start --mode dev-container
This mode bundles the following flags and cluster properties:
Bundled flags:
-
--overprovisioned(disables thread affinity and other production guards; seerpk redpanda modefor details) -
--reserve-memory 0M -
--check=false -
--unsafe-bypass-fsync
Bundled cluster properties:
-
write_caching_default: true -
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 cluster properties by running:
rpk config set <key> <value>
Flags
| Value | Type | Description |
|---|---|---|
|
strings |
A comma-separated list of Kafka addresses to advertise.
|
|
strings |
A comma-separated list of Pandaproxy addresses to advertise.
|
|
string |
The advertised RPC address
|
|
- |
When set to |
|
- |
Help for start. |
|
string |
Directory where |
|
strings |
A comma-separated list of Kafka listener addresses to bind to.
|
|
string |
Sets well-known configuration properties for
development or test environments; use |
|
string |
Alternative path to read the node tuner state file from (if exists). |
|
strings |
A comma-separated list of Pandaproxy listener addresses to bind to.
|
|
string |
The RPC address to bind to.
|
|
strings |
A comma-separated list of Schema Registry listener addresses to bind to.
|
|
strings |
A comma-separated list of seed nodes to connect to.
|
|
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 |
|
string |
The cloud vendor and VM type, in the format
|
|
string |
Redpanda or |
|
stringArray |
Override |
|
- |
Ignore |
|
string |
Profile to use. See |
|
- |
Enable verbose logging. |