mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
53 lines
2.0 KiB
Plaintext
53 lines
2.0 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * cli_reference/cli_manager/cli-manager-install.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="cli-manager-installing_{context}"]
|
|
= Installing the {cli-manager}
|
|
|
|
[role="_abstract"]
|
|
You can install the {cli-manager} to facilitate adding CLI plugins in both connected and disconnected environments.
|
|
|
|
[NOTE]
|
|
====
|
|
Krew always works with {oc-first} without the {cli-manager} installed. You can use the same commands outlined in this documentation to use Krew with `oc`. For more information, see link:https://krew.sigs.k8s.io/docs/[Krew documentation].
|
|
====
|
|
|
|
.Prerequisites
|
|
|
|
* link:https://krew.sigs.k8s.io/docs/user-guide/setup/install[Krew is installed].
|
|
* You are logged in to {product-title} as a user with the `cluster-admin` role.
|
|
* You have access to the {product-title} web console.
|
|
|
|
.Procedure
|
|
|
|
. Log in to the {product-title} web console.
|
|
|
|
. Create the required namespace for the {cli-manager}:
|
|
.. Navigate to *Administration* -> *Namespaces* and click *Create Namespace*.
|
|
.. In the *Name* field, enter `openshift-cli-manager-operator` and click *Create*.
|
|
|
|
. Install the {cli-manager}:
|
|
.. Navigate to *Ecosystem* -> *Software Catalog*.
|
|
.. In the filter box, enter *{cli-manager}*.
|
|
.. Select the *{cli-manager}* and click *Install*.
|
|
.. On the *Install Operator* page, complete the following steps:
|
|
... Ensure that the *Update channel* is set to *tech preview*, which installs the latest Technology Preview release of the {cli-manager}.
|
|
... From the drop-down menu, select *A specific namespace on the cluster* and select *openshift-cli-manager-operator*.
|
|
... Click *Install*.
|
|
|
|
. Create the `CliManager` resource by completing the following steps:
|
|
.. Navigate to *Installed Operators*.
|
|
.. Select *{cli-manager}*.
|
|
.. Select the *CLI Manager* tab.
|
|
.. Click *Create CliManager*.
|
|
.. Use the default *Name*.
|
|
.. Click *Create*.
|
|
... The new `CliManager` resource is listed in the *CLI Manager* tab.
|
|
|
|
.Verification
|
|
|
|
. Navigate to *Ecosystem* -> *Installed Operators*.
|
|
. Verify that *{cli-manager}* is listed with a *Status* of *Succeeded*.
|