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: {}
  2. Install the wxa4z operator:
    oc apply -f wxa4z-operator.yaml
  3. Wait for the main operator controller to be fully installed and available:
    oc -n wxa4z-operator wait deployments/ibm-wxa4z-operator-controller-manager --for=condition=Available --timeout=1800s
  4. Wait for the agent manager controller to be fully installed and available:
    oc -n wxa4z-operator wait deployments/ibm-wxa4z-operator-agent-manager-controller --for=condition=Available --timeout=1800s