Installing the Operator
Install the watsonx Assistant for Z operator from the OperatorHub in the Red Hat OpenShift console.
Procedure
- Log in to Red Hat OpenShift CLI (OC) by using your cluster credentials.
- Click Operators > OperatorHub.
- From the Project drop-down list, select the namespace that you created and click the watsonx Assistant for Z operator.
- From the side panel, click Install and provide the following
information: Note: Channel and Version values are derived from the image that is used when creating the catalog source. Keep these fields at their default values.
- Select the installation mode as A specific namespace on the
cluster. In the Installed Namespace field, the namespace where the operator is available is selected by default.
- Under Update Approval, select Automatic if you want the operator to be updated based on the updates to the channel. Otherwise, select Manual.
- Click Install.
- Select the installation mode as A specific namespace on the
cluster.
- After the installation is completed, update the operator group targeting the namespaces
where you will deploy BYOSearch, AIOpsIntegration, and Topology CRs.
- Run the following command to get the name of the operator group:
oc -n wxa4z-operator get operatorgroup
The output should contain a single operator group as shown in the following example:NAME AGE wxa4z-operator-fhrjz 6d7h
- Run the following command to update the list of targeted namespaces:
oc -n wxa4z-operator patch operatorgroup <operatorgroup-name> --type=merge -p '{"spec": {"targetNamespaces": ["wxa4z-zad", "wxa4z-aiops", "wxa4z-topology"]}}'
where 'operatorgroup-name' is the operator group name from the previous output.
- Run the following command to get the name of the operator group: