rpk cluster fencing config template

Print a template of the fencing settings.

The template has the default settings and a description of each field. Save it to a file, change the values, and apply the file with rpk cluster fencing config update --config-file.

This command was introduced in version v26.3.1.

Usage

rpk cluster fencing config template [flags]

Examples

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

Print the template:

rpk cluster fencing config template

Save the template to a file:

rpk cluster fencing config template > fencing.yaml

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.