rpk redpanda mode
Development mode
Development (dev) mode includes the following development-only settings:
-
Sets
developer_modetotrue. This starts Redpanda with dev-mode only settings, including:-
No minimal memory limits are enforced.
-
No core assignment rules for Redpanda nodes are enforced.
-
Bypasses
fsync(from Seastar optionunsafe_bypass_fsync), which results in unrealistically fast clusters and may result in data loss.
-
-
Sets
overprovisionedtotrue. Redpanda expects a dev system to be an overprovisioned environment. Based on a Seastar option, settingoverprovisioneddisables thread affinity, zeros idle polling time, and disables busy-poll for disk I/O. -
Sets all autotuner tuners to
false. The tuners are intended to run only for production mode.
Production mode
Production (prod) mode disables dev-mode settings:
-
developer_mode: false -
overprovisioned: false
It also enables a set of tuners of the autotuner. For descriptions about the tuners, see Tuners in the rpk redpanda tune list command reference.
Flags
| Value | Type | Description |
|---|---|---|
|
- |
Help for mode. |
|
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. |