rpk profile print

Print rpk profile configuration.

If no name is specified, this command prints the current profile as it exists in the rpk.yaml file.

To print both the profile as it exists in the rpk.yaml file and the current profile as it is loaded in rpk with internal defaults, user-specified flags, and environment variables applied, use the -v/--verbose flag.

Usage

rpk profile print [NAME] [flags]

Flags

Value Type Description

-h, --help

-

Help for print.

--raw

-

Print raw configuration from rpk.yaml, without environment variables nor flags applied.

--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. 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.