rpk cloud cluster select

Update your rpk profile to communicate with the requested cluster.

This command is essentially an alias for the following command:

rpk profile create --from-cloud=${NAME}

If you want to name this profile rather than creating or updating values in the default cloud-dedicated profile, you can use the --profile flag.

For Serverless clusters that support both public and private networking, you are prompted to select a network type unless you specify --serverless-network. To avoid prompts in automation, explicitly set --serverless-network to public or private.

Usage

rpk cloud cluster select [NAME] [flags]

Aliases

select, use

Flags

Value Type Description

-h, --help

-

Help for select.

--profile

string

Name of a profile to create or update (avoids updating "rpk-cloud").

--serverless-network

string

Networking type for Serverless clusters: public or private (if not specified, will prompt if both are available).

--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; '-X help' for detail or '-X list' for terser detail.

-v, --verbose

-

Enable verbose logging.