kubectl operator
is a kubectl plugin that functions as a package manager
for Operators in your cluster. It simplifies adding and removing Operator
catalogs, and it has familiar commands for installing, uninstalling, and
listing available and installed Operators.
NOTE: This plugin requires Operator Lifecycle Manager to be installed in your cluster. See the OLM installation instructions here
The kubectl operator
plugin is distributed via krew
. To install it, run the following:
kubectl krew install operator