rpk cluster fencing config

Manage the fencing settings.

The settings decide what fencing covers and which fetches it blocks. rpk cluster fencing enable uses the saved settings. To see them, run rpk cluster fencing status.

This command was introduced in version v26.3.1.

Usage

rpk cluster fencing config [flags]

Subcommands

Command Description

rpk cluster fencing config template

Print a template of the fencing settings. The template has the default settings and a description of each field.

rpk cluster fencing config update

Update the fencing settings. By default, this command opens your editor with the saved settings.

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.