rpk k8s

Interact with Redpanda clusters running on Kubernetes.

This command was introduced in k8s version 26.2.1.

Usage

rpk k8s [flags]

Subcommands

Command Description

rpk k8s install

Install the Redpanda Kubernetes plugin. This command installs the latest version by default.

rpk k8s multicluster

Commands for bootstrapping and managing the multicluster operators that run a Redpanda Stretch Cluster: a single logical Redpanda cluster distributed across multiple Kubernetes clusters. One operator runs in each Kubernetes cluster, and the operators coordinate through Raft consensus to manage the Stretch Cluster as a single unit.

rpk k8s uninstall

Uninstall the Redpanda Kubernetes plugin. By default this removes only the` rpk-managed` plugin binary (~/.local/bin/.rpk.managed-k8s).

rpk k8s upgrade

Upgrade to the latest Redpanda Kubernetes plugin version.

rpk k8s version

Print build information.

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.