rpk profile
Manage rpk configuration profiles. Profiles store connection settings for different clusters, making it easy to switch between environments.
Subcommands
| Command | Description |
|---|---|
Clear the current profile. This command clears the current profile, which can be useful to unset a production cluster profile. |
|
Create a new |
|
Print the current profile name. This is a tiny command that simply prints the current profile name, which may be useful in scripts, or a PS1, or to confirm what you have selected. |
|
Delete an rpk profile. Deleting a profile removes it from the |
|
Edit an rpk profile. This command opens your default editor to edit the specified profile, or the current profile if no profile is specified. |
|
Edit |
|
List |
|
Print |
|
Print |
|
Prompt a profile name formatted for a PS1 prompt. This command prints ANSI-escaped text per your current profile’s |
|
Rename the current |
|
Set a configuration field in the current |
|
Set |
|
Switch to a different |
|
Validate profile configuration and detect common issues. |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |