Cloud

rpk profile set-globals

Set rpk globals fields.

This command takes a list of key=value pairs to write to the global config section of rpk.yaml. The globals section contains a set of settings that apply to all profiles and changes the way that rpk acts. For a list of global flags and what they mean, check rpk -X help and look for any key that begins with globals.

This command supports autocompletion of valid keys. You can also use the format set key value if you intend to only set one key.

Usage

rpk profile set-globals [KEY=VALUE]+ [flags]

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.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.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.