1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/serverless-creating-subscription-admin-web-console.adoc
2023-10-30 10:13:25 -04:00

36 lines
1.6 KiB
Plaintext

// Module included in the following assemblies:
//
// * serverless/admin_guide/serverless-cluster-admin-eventing.adoc
:_mod-docs-content-type: PROCEDURE
[id="serverless-creating-subscription-admin-web-console_{context}"]
= Creating a subscription by using the Administrator perspective
After you have created a channel and an event sink, also known as a _subscriber_, you can create a subscription to enable event delivery. Subscriptions are created by configuring a `Subscription` object, which specifies the channel and the subscriber to deliver events to. You can also specify some subscriber-specific options, such as how to handle failures.
.Prerequisites
* The {ServerlessOperatorName} and Knative Eventing are installed on your {product-title} cluster.
* You have logged in to the web console and are in the *Administrator* perspective.
ifdef::openshift-enterprise[]
* You have cluster administrator permissions for {product-title}.
endif::[]
ifdef::openshift-dedicated,openshift-rosa[]
* You have cluster or dedicated administrator permissions for {product-title}.
endif::[]
* You have created a Knative channel.
* You have created a Knative service to use as a subscriber.
.Procedure
. In the *Administrator* perspective of the {product-title} web console, navigate to *Serverless* -> *Eventing*.
. In the *Channel* tab, select the Options menu {kebab} for the channel that you want to add a subscription to.
. Click *Add Subscription* in the list.
. In the *Add Subscription* dialogue box, select a *Subscriber* for the subscription. The subscriber is the Knative service that receives events from the channel.
. Click *Add*.