Installing Red Hat OpenShift Serverless Knative Eventing
If you plan to install IBM® watsonx Assistant, you must have Red Hat OpenShift Serverless Knative Eventing and IBM Events on the cluster.
- Installation phase
- Setting up a client workstation
- Who needs to complete this task?
-
Cluster administrator A cluster administrator must install this software.
- When do you need to complete this task?
-
Complete this task only if you plan to install the watsonx Assistant service.
One-time setup The Red Hat OpenShift Serverless Knative Eventing and IBM Events are installed once and shared by all instances of watsonx Assistant on the cluster.
Before you begin
If your cluster is in a restricted network, you have two options for ensuring you can access the required images:
- You can run the
deploy-knative-eventing
command while the workstation is connected to the cluster and the following websites:- Red Hat OpenShift image registry
- IBM Entitled Registry
- GitHub
- You can preinstall the Red Hat OpenShift Serverless Operator
and IBM Events Operator:
- You must install the Red Hat OpenShift Serverless Operator
before you complete this task. For more information, see Installing the OpenShift Serverless Operator:
- Version 1.30
- Version 1.31
- Version 1.32 (recommended)
Private container registry users
If you want to mirror the images for the Red Hat OpenShift Serverless Operator to a private container registry, see Mirroring images for a disconnected installation
- You must have the IBM Cloud Pak foundational services
CASE package in the
work
directory on the workstation from which you will complete this task.If you do not have the CASE package, you must run the following command while the client workstation is connected to the internet:cpd-cli manage mirror-images \ --components=cpfs \ --release=${VERSION} \ --from_oci=true \ --case_download=true \ --target_registry=127.0.0.1:12443
- If the IBM Events Operator is not installed on
your cluster, run the following commands:
- Authorize the projects where the software will be installed to
communicate:
cpd-cli manage authorize-instance-topology \ --release=${VERSION} \ --cpd_operator_ns=ibm-knative-events \ --cpd_instance_ns=knative-eventing
- Install the IBM Events Operator in the
ibm-knative-events
project:cpd-cli manage setup-instance-topology \ --release=${VERSION} \ --cpd_operator_ns=ibm-knative-events \ --cpd_instance_ns=knative-eventing \ --license_acceptance=true
- Authorize the projects where the software will be installed to
communicate:
- You must install the Red Hat OpenShift Serverless Operator
before you complete this task. For more information, see Installing the OpenShift Serverless Operator:
Ensure that you source the environment variables before you run the commands in this task.
About this task
When a user adds, modifies, or deletes actions in an assistant, watsonx Assistant starts a training job. The watsonx Assistant user interface communicates with the machine learning model through a message broker.
Red Hat OpenShift Serverless Knative Eventing and IBM Events provide a central Kafka broker for any instances of watsonx Assistant on the cluster.
You can run the deploy-knative-eventing
command to
install the Red Hat OpenShift Serverless Knative Eventing and IBM Events software.
- Installing a proof-of-concept or evaluation environment
- Setting up a simple Kafka instance for use with Cloud Pak for Data
- Version 1.30
- Version 1.31
- Version 1.32 (recommended)
When you run the deploy-knative-eventing
command, the
following operators are installed as cluster-wide operators, which means that they are installed
once and shared by all instances of IBM Cloud Pak for Data on the cluster:
Software | Installation project |
---|---|
Red Hat OpenShift Serverless Operator |
This software is installed in the |
Knative Eventing Operator |
This software is installed in the |
Knative Kafka Operator |
This software is installed in the |
IBM Events Operator |
This software is installed in the However, you can optionally point to an existing cluster-scoped instance of the IBM Events Operator. |
In addition, the command sets up a Knative broker in the knative-eventing
project. The broker is backed by an instance of
Apache Kafka that is managed by the IBM Events Operator.
Procedure
To install Red Hat OpenShift Serverless Knative Eventing: