Docs Cloud Reference rpk Commands rpk profile rpk profile set-globals 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, see rpk -X 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] Flags Value Type Description -h, --help - Help for set-globals. --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. Back to top × Simple online edits For simple changes, such as fixing a typo, you can edit the content directly on GitHub. Edit on GitHub Or, open an issue to let us know about something that you want us to change. Open an issue Contribution guide For extensive content updates, or if you prefer to work locally, read our contribution guide . Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback group_add Make a contribution rpk profile set rpk profile use