# rpk redpanda mode

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [streaming-full.txt](https://docs.redpanda.com/streaming-full.txt)

---
title: rpk redpanda mode
latest-operator-version: v26.1.4
# EOL = End-of-Life (support lifecycle status)
page-is-nearing-eol: "false"
page-is-past-eol: "true"
page-eol-date: December 22, 2024
latest-console-tag: v3.7.3
latest-connect-version: 4.93.0
docname: rpk/rpk-redpanda/rpk-redpanda-mode
page-component-name: streaming
page-version: "23.3"
page-component-version: "23.3"
page-component-title: Streaming
page-relative-src-path: rpk/rpk-redpanda/rpk-redpanda-mode.adoc
page-edit-url: https://github.com/redpanda-data/docs/edit/v/23.3/modules/reference/pages/rpk/rpk-redpanda/rpk-redpanda-mode.adoc
page-git-created-date: "2023-05-17"
page-git-modified-date: "2024-04-04"
support-status: past end-of-life
---

<!-- Source: https://docs.redpanda.com/streaming/23.3/reference/rpk/rpk-redpanda/rpk-redpanda-mode.md -->

> ❗ **IMPORTANT**
>
> This command is not supported on macOS, Windows.

## [](#development-mode)Development mode

Development mode (`development` or `dev`) 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`](https://docs.seastar.io/master/structseastar_1_1reactor%5F%5Foptions.html#ad66cb23f59ed5dfa8be8189313988692)), 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](https://docs.seastar.io/master/structseastar_1_1reactor%5F%5Foptions.html#a0caf6c2ad579b8c22e1352d796ec3c1d), setting `overprovisioned` disables thread affinity, zeros idle polling time, and disables busy-poll for disk I/O.

-   Sets all autotuner [tuners](https://docs.redpanda.com/streaming/23.3/reference/rpk/rpk-redpanda/rpk-redpanda-tune-list/#tuners) to `false`. The tuners are intended to run only for production mode.


## [](#production-mode)Production mode

Production mode (`production` or `prod`) 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](https://docs.redpanda.com/streaming/23.3/reference/rpk/rpk-redpanda/rpk-redpanda-tune-list/#tuners) in the [rpk redpanda tune list](https://docs.redpanda.com/streaming/23.3/reference/rpk/rpk-redpanda/rpk-redpanda-tune-list/) command reference.

## [](#recovery-mode)Recovery mode

Recovery mode (`recovery`) sets the broker configuration property `recovery_mode_enabled` to `true`. This provides a stable environment for troubleshooting and restoring a failed cluster.

## [](#usage)Usage

```bash
rpk redpanda mode <mode> [flags]
```

## [](#flags)Flags

| Value | Type | Description |
| --- | --- | --- |
| -h, --help | - | Help for mode. |
| --config | string | Redpanda or rpk config file; default search paths are /var/lib/redpanda/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml. |
| -X, --config-opt | stringArray | Override rpk configuration settings; -X help for detail or -X list for terser detail. |
| --profile | string | Profile to use. See rpk profile for more details. |
| -v, --verbose | - | Enable verbose logging. |