rpk k8s multicluster

Commands for bootstrapping and managing the multicluster operators that run a Stretch Cluster across multiple Kubernetes clusters.

A multicluster deployment is the operator plane behind a Stretch Cluster: one Redpanda Operator in each Kubernetes cluster, coordinating through Raft consensus to manage the Stretch Cluster as a single unit.

Usage

rpk k8s multicluster [flags]

Subcommands

Command Description

rpk k8s multicluster bootstrap

Bootstrap the TLS certificates and kubeconfig secrets that the multicluster operators of a Stretch Cluster need to communicate across Kubernetes clusters. This command connects to each specified Kubernetes context, generates a shared CA certificate, and distributes per-cluster TLS certificates and kubeconfig secrets so that the multicluster operator can communicate across clusters.

rpk k8s multicluster bundle

Collect environment data from each Kubernetes cluster in a Stretch Cluster deployment and package it into a ZIP file for support. This is the operator-side counterpart to rpk debug bundle, which collects data from the Redpanda brokers themselves.

rpk k8s multicluster status

Check the health of the multicluster operators that run a Stretch Cluster: operator pod health, Raft consensus state, TLS certificate validity, and cross-cluster consistency. Connects to each specified Kubernetes context, finds the multicluster operator pod, port-forwards to its gRPC transport, and queries raft status.

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/Library/Application Support/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.