After you have created a channel and an event sink, you can create a subscription to enable event delivery. Subscriptions are created by configuring a
Subscription object, which specifies the channel and the sink (also known as a subscriber) to deliver events to. You can also specify some sink-specific options, such as how to handle failures.
After you have created a channel and an event sink, you can create a subscription to enable event delivery. Using the OpenShift Container Platform web console provides a streamlined and intuitive user interface to create a subscription.
The OpenShift Serverless Operator, Knative Serving, and Knative Eventing are installed on your OpenShift Container Platform cluster.
You have logged in to the web console.
You have created an event sink, such as a Knative service, and a channel.
You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in OpenShift Container Platform.
In the Developer perspective, navigate to the Topology page.
Create a subscription using one of the following methods:
Hover over the channel that you want to create a subscription for, and drag the arrow. The Add Subscription option is displayed.
Select your sink as a subscriber from the drop-down list.
If the service is available in the Topology view under the same namespace or project as the channel, click on the channel that you want to create a subscription for, and drag the arrow directly to a service to immediately create a subscription from the channel to that service.
After the subscription has been created, you can see it represented as a line that connects the channel to the service in the Topology view: