5장. Installing Knative Eventing
To use event-driven architecture on your cluster, install Knative Eventing. You can create Knative components such as event sources, brokers, and channels and then use them to send events to applications or external systems.
After you install the OpenShift Serverless Operator, you can install Knative Eventing by using the default settings, or configure more advanced settings in the KnativeEventing custom resource (CR). For more information about configuration options for the KnativeEventing CR, see Global configuration.
If you want to use Red Hat OpenShift distributed tracing with OpenShift Serverless, you must install and configure Red Hat OpenShift distributed tracing before you install Knative Eventing.
5.1. Installing Knative Eventing by using the web console 링크 복사링크가 클립보드에 복사되었습니다!
After you install the OpenShift Serverless Operator, install Knative Eventing by using the OpenShift Container Platform web console. You can install Knative Eventing by using the default settings or configure more advanced settings in the KnativeEventing custom resource (CR).
Prerequisites
- You have cluster administrator permissions on OpenShift Container Platform, or you have cluster or dedicated administrator permissions on Red Hat OpenShift Service on AWS or OpenShift Dedicated.
- You have logged in to the OpenShift Container Platform web console.
- You have installed the OpenShift Serverless Operator.
Procedure
-
In the OpenShift Container Platform web console, navigate to Operators
Installed Operators. - Check that the Project dropdown at the top of the page is set to Project: knative-eventing.
- Click Knative Eventing in the list of Provided APIs for the OpenShift Serverless Operator to go to the Knative Eventing tab.
- Click Create Knative Eventing.
In the Create Knative Eventing page, you can configure the
KnativeEventingobject by using either the form provided, or by editing the YAML file.-
Use the form for simpler configurations that do not require full control of
KnativeEventingobject creation.
-
Use the form for simpler configurations that do not require full control of
Click Create.
-
Edit the YAML file for more complex configurations that require full control of
KnativeEventingobject creation. To access the YAML editor, click edit YAML on the Create Knative Eventing page.
-
Edit the YAML file for more complex configurations that require full control of
-
After you have installed Knative Eventing, the
KnativeEventingobject is created, and you are automatically directed to the Knative Eventing tab. You will see theknative-eventingcustom resource in the list of resources.
Verification
-
Click on the
knative-eventingcustom resource in the Knative Eventing tab. You are automatically directed to the Knative Eventing Overview page. - Scroll down to look at the list of Conditions.
You should see a list of conditions with a status of True.
참고It may take a few seconds for the Knative Eventing resources to be created. You can check their status in the Resources tab.
- If the conditions have a status of Unknown or False, wait a few moments and then check again after you have confirmed that the resources have been created.