rpk redpanda mode

Enable a default configuration mode. This command changes the local redpanda.yaml and enable or disable the tuners based on each mode. For example prod enables multiple tuners whereas mode dev disable all tuners.

The available modes:

Development mode

Development (dev) mode includes the following development-only settings:

  • Sets developer_mode to true. 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 option unsafe_bypass_fsync), which results in unrealistically fast clusters and may result in data loss.

  • Sets overprovisioned to true. Redpanda expects a dev system to be an overprovisioned environment. Based on a Seastar option, setting overprovisioned disables 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.


rpk redpanda mode <mode> [flags]


Value Type Description



Redpanda config file, if not set the file will be searched for in the default locations.

-h, --help


Help for mode.

-v, --verbose


Enable verbose logging (default false).