3.4. Using the CLI Manager Operator
To install, update, and uninstall CLI plugins in OpenShift Container Platform, you can set up and configure the CLI Manager Operator.
Using the CLI Manager Operator to install and manage plugins for the OpenShift CLI is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.
3.4.1. Installing CLI plugins with the CLI Manager Operator 링크 복사링크가 클립보드에 복사되었습니다!
You can install CLI plugins with the CLI Manager Operator to extend OpenShift CLI functionality in both connected and disconnected environments.
Prerequisites
- You have installed Krew by following the installation procedure in the Krew documentation.
- The CLI Manager Operator is installed.
- The CLI Manager Operator custom index has been added to Krew.
- You are using OpenShift Container Platform 4.17 or later.
Procedure
To list all available plugins, run the following command:
$ oc krew searchTo get information about a plugin, run the following command:
$ oc krew info <plugin_name>To install a plugin, run the following command:
$ oc krew install <plugin_name>To list all plugins that were installed by Krew, run the following command:
$ oc krew list