rpk cluster license set

Upload license to the cluster.

You can either provide a path to a file containing the license:

rpk cluster license set --path /home/organization/redpanda.license

Or inline the license string:

rpk cluster license set <license string>

If neither are present, rpk will look for the license in the default location /etc/redpanda/redpanda.license.

Usage

rpk cluster license set [flags]

Flags

Value Type Description

-h, --help

-

Help for set.

--path

string

Path to the license file.

--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. See rpk -X or execute rpk -X help for inline detail or rpk -X list for terser detail.

--profile

string

Profile to use. See rpk profile for more details.

-v, --verbose

-

Enable verbose logging.