rpk profile

Manage rpk profiles.

An rpk profile talks to a single Redpanda cluster. You can create multiple profiles for multiple clusters and swap between them with rpk profile use. Multiple profiles may be useful if, for example, you use rpk to talk to a localhost cluster, a dev cluster, and a prod cluster, and you want to keep your configuration in one place.

Usage

rpk profile [flags] [command]

Flags

Value Type Description

-h, --help

-

Help for profile.

--config

string

Redpanda or rpk config file. Default search paths are: ~/.config/rpk/rpk.yaml, $PWD, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings. See rpk -X or execute rpk -X help for inline detail or rpk -X list for terser detail.

--profile

string

Profile to use. See rpk profile for more details.

-v, --verbose

-

Enable verbose logging.