manage
deploy-knative-eventing
Install or upgrade the Red Hat® OpenShift® Serverless Knative Eventing software on the cluster.
- Required role
- Cluster administrator You must be a cluster administrator to run this command.
Extended description
If you plan to install IBM watsonx Assistant or IBM watsonx™ Orchestrate on IBM® Software Hub, you must install the following software on your cluster to set up a message broker for IBM watsonx Assistant.
- Red Hat OpenShift Serverless Knative Eventing
- IBM Events
The deploy-knative-eventing command installs the
operators that are needed for the message broker:
| 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, if you have an existing IBM Events Operator installation, you can optionally point to the operator associated with that installation if it is cluster-scoped. Important: The IBM
Events Operator that is
provided by IBM Software
Hub is not a cluster-scoped
operator. The operator is scoped only to instances of IBM Software
Hub.
|
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.
- Installing a proof-of-concept or evaluation environment
- Setting up a simple Kafka instance for use with IBM Software Hub
- Version 1.33
- Version 1.34
- Version 1.35
- Version 1.36 (recommended)
Syntax
cpd-cli manage deploy-knative-eventing \
--release=<version> \
[--block_storage_class=<RWO-storage-class>] \
[--storage_vendor=portworx] \
[--from_oci=true|false] \
[--oci_location=<registry-URL>] \
[--events_operator_ns=<project-name>] \
[--patch_redhat_crd=true|false] \
[--demo_mode=true|false] \
[--upgrade=true|false]
Arguments
The deploy-knative-eventing command has no arguments.
Options
| Option | Description |
|---|---|
--block_storage_class |
The name of the
storage class that supports RWO access.
|
--demo_mode |
Specify whether to install resources that can be used to give an
end-to-end demo of passing events through a Kafka broker. This option is recommended for proof-of-concept and evaluation installations.
|
--events_operator_ns |
The project for the IBM Events
Operator. Important: Specify
this option only if you have an existing cluster-scoped instance of the IBM
Events Operator that you want to use.
If you don't have an existing cluster-scoped instance of the IBM Events Operator, omit this option to enable the operator to be installed in the default project.
|
--from_oci |
Download CASE packages from the IBM Cloud Pak® Open Container Initiative (OCI) registry rather than from
GitHub. This option is recommended for environments that are not allowed to access GitHub (github.com). Restriction: This setting applies only if you
set
--case_download=true.
|
--oci_location |
The URL of the Open Container Initiative (OCI) registry from which
you want to download CASE packages. For example, specify this
option if you want to download the CASE
packages from a private OCI registry. Restriction: This setting applies only if you set
--from_oci=true.
|
--patch_redhat_crd |
Specify whether to patch the knativeeventings.operator.knative.dev
custom resource definition. By default the However, you can use this option to prevent the
|
--release |
The release that you want to install or upgrade
to.
|
--storage_vendor |
The type of storage that you are using. Restriction: This option applies only if
you are using the recommended storage class names with Portworx.
Specify this option to ensure that
software uses the
|
--upgrade |
Specify whether you are upgrading an existing instance of the IBM Events Operator.
|
Examples
It is strongly recommended that you use a script to create environment variables with the correct values for your environment. For details, see Setting up installation environment variables.
- Install the Red Hat OpenShift Serverless Knative Eventing software with IBM Fusion Data Foundation storage
-
cpd-cli manage deploy-knative-eventing \ --release=${VERSION} \ --block_storage_class=${STG_CLASS_BLOCK} - Install the Red Hat OpenShift Serverless Knative Eventing software with Portworx storage
-
cpd-cli manage deploy-knative-eventing \ --release=${VERSION} \ --storage_vendor=portworx - Install the Red Hat OpenShift Serverless Knative Eventing software pointing to an existing IBM Events Operator
-
cpd-cli manage deploy-knative-eventing \ --release=${VERSION} \ --block_storage_class=${STG_CLASS_BLOCK} \ --events_operator_ns=${PROJECT_IBM_EVENTS} - Install the Red Hat OpenShift Serverless Knative Eventing software and demo assets
-
cpd-cli manage deploy-knative-eventing \ --release=${VERSION} \ --block_storage_class=${STG_CLASS_BLOCK} \ --demo_mode=true - Upgrade the IBM Events Operator associated with an existing Red Hat OpenShift Serverless Knative Eventing installation
-
cpd-cli manage deploy-knative-eventing \ --release=${VERSION} \ --upgrade=true