rpk k8s uninstall

Uninstall the Redpanda Kubernetes plugin.

By default this removes only the rpk-managed plugin binary (~/.local/bin/.rpk.managed-k8s). If the resolved plugin was not installed by rpk (a self-managed copy, for example one you downloaded or installed through a package manager), rpk refuses to remove it unless you pass --force.

If the resolved plugin shadows other k8s plugin copies elsewhere on your PATH, those are left in place unless you pass --include-shadowed.

Usage

rpk k8s uninstall [flags]

Flags

Value Type Description

--force

bool

Remove the plugin even if it was not installed by rpk (self-managed).

--include-shadowed

bool

Also remove other k8s plugin copies shadowed by the resolved one.

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.