// Module included in the following assemblies:
//
// * ai_workloads/leader_worker_set/lws-managing.adoc

:_mod-docs-content-type: PROCEDURE
[id="lws-install-operator_{context}"]
= Installing the {lws-operator}

[role="_abstract"]
You can install the {lws-operator} through the {product-title} web console to begin managing distributed AI workloads.

.Prerequisites

* You have access to the cluster with `cluster-admin` privileges.
* You have access to the {product-title} web console.
* You have installed the {cert-manager-operator}.

.Procedure

. Log in to the {product-title} web console.

. Verify that the {cert-manager-operator} is installed.

. Install the {lws-operator}.
.. Navigate to *Ecosystem* -> *Software Catalog*.
.. Enter *{lws-operator}* into the filter box.
.. Select the *{lws-operator}* and click *Install*.
.. On the *Install Operator* page:
... The *Update channel* is set to *stable-v1.0*, which installs the latest stable release of {lws-operator} 1.0.
... Under *Installation mode*, select *A specific namespace on the cluster*.
... Under *Installed Namespace*, select *Operator recommended Namespace: openshift-lws-operator*.
... Under *Update approval*, select one of the following update strategies:
+
* The *Automatic* strategy allows {olm-first} to automatically update the Operator when a new version is available.
* The *Manual* strategy requires a user with appropriate credentials to approve the Operator update.
... Click *Install*.

. Create the custom resource (CR) for the {lws-operator}:
.. Navigate to *Installed Operators* -> *{lws-operator}*.
.. Under *Provided APIs*, click *Create instance* in the *LeaderWorkerSetOperator* pane.
.. Click *Create*.
