Cloud

rpk cluster config list

List cluster configuration properties.

This command lists all available cluster configuration properties. Use the get command to retrieve specific property values, or edit for interactive editing.

Use the --filter flag with a regular expression to filter configuration keys.

Usage

rpk cluster config list [flags]

Examples

This section provides examples of how to use rpk cluster config list.

Filtering with regex

List properties matching a pattern

rpk cluster config list --filter="kafka.*"

Filter properties containing 'log'

rpk cluster config list --filter=".*log.*"

Output formats

List in JSON format

rpk cluster config list --format=json

List in YAML format

rpk cluster config list --format=yaml

Flags

Value Type Description

--filter

string

Filter configuration keys using regular expression.

--format

string

Output format (json,yaml,text,wide,help).

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.

Suggested reading