Installing the Operator

Install the watsonx Assistant for Z operator from the OperatorHub in the Red Hat OpenShift console.

Procedure

  1. Create the file wxa4z-operator.yaml with the following configuration.
    apiVersion: operators.coreos.com/v1alpha1
    kind: Subscription
    metadata:
      name: ibm-wxa4z-subscription
      namespace: wxa4z-operator
    spec:
      channel: stable
      installPlanApproval: Automatic
      name: ibm-wxa4z-operator
      source: ibm-wxa4z-operator-catalog
      sourceNamespace: wxa4z-operator
    ---
    apiVersion: operators.coreos.com/v1alpha2
    kind: OperatorGroup
    metadata:
      name: wxa4z-operator-group
      namespace: wxa4z-operator
    spec:
      targetNamespaces:
        - wxa4z-zad
        - wxa4z-aiops
  2. Run the following command to install the wxa4z operator:
    oc apply -f wxa4z-operator.yaml
  3. Run the following command to wait until the operator is fully installed and available:
    oc -n wxa4z-operator wait deployments/ibm-wxa4z-operator-controller-manager --for=condition=Available --timeout=1800s