mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * /serverless/develop/serverless-triggers.adoc
|
|
|
|
:_content-type: PROCEDURE
|
|
[id="serverless-create-trigger-odc_{context}"]
|
|
= Creating a trigger by using the web console
|
|
|
|
After you have created a broker, you can create a trigger by using the web console.
|
|
|
|
.Prerequisites
|
|
|
|
* The {ServerlessOperatorName}, Knative Serving, and Knative Eventing are installed on your {product-title} cluster.
|
|
* You have logged in to the web console.
|
|
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
|
|
* You have created a broker and a Knative service or other event sink to connect to the trigger.
|
|
|
|
.Procedure
|
|
|
|
. In the *Developer* perspective, navigate to the *Topology* page.
|
|
. Hover over the broker that you want to create a trigger for, and drag the arrow. The *Add Trigger* option is displayed.
|
|
. Click *Add Trigger*.
|
|
. Select your sink as a *Subscriber* from the drop-down list.
|
|
. Click *Add*.
|
|
|
|
.Verification
|
|
|
|
* After the subscription has been created, you can view it in the *Topology* page, where it is represented as a line that connects the broker to the event sink.
|
|
|
|
.Deleting a trigger
|
|
|
|
. In the *Developer* perspective, navigate to the *Topology* page.
|
|
. Click on the trigger that you want to delete.
|
|
. In the *Actions* context menu, select *Delete Trigger*.
|