×

Creating an event source by using the Administrator perspective

If you have cluster or dedicated administrator permissions, you can create an event source by using the Administrator perspective in the web console.

Prerequisites
  • The OpenShift Serverless Operator and Knative Eventing are installed on your OpenShift Dedicated cluster.

  • You have cluster or dedicated administrator permissions for OpenShift Dedicated.

Procedure
  1. In the Administrator perspective of the OpenShift Dedicated web console, navigate to ServerlessEventing.

  2. In the Create list, select Event Source. You will be directed to the Event Sources page.

  3. Select the event source type that you want to create.

See Event sources for more information about which event source types are supported and can be created by using OpenShift Serverless.

Creating a broker by using the Administrator perspective

If you have cluster or dedicated administrator permissions, you can create a broker by using the Administrator perspective in the web console.

Prerequisites
  • The OpenShift Serverless Operator and Knative Eventing are installed on your OpenShift Dedicated cluster.

  • You have cluster or dedicated administrator permissions for OpenShift Dedicated.

Procedure
  1. In the Administrator perspective of the OpenShift Dedicated web console, navigate to ServerlessEventing.

  2. In the Create list, select Broker. You will be directed to the Create Broker page.

  3. Optional: Modify the YAML configuration for the broker.

  4. Click Create.

Creating a trigger by using the Administrator perspective

If you have cluster or dedicated administrator permissions and have created a broker, you can create a trigger to connect your broker to a subscriber by using the Administrator perspective in the web console.

Prerequisites
  • The OpenShift Serverless Operator and Knative Eventing are installed on your OpenShift Dedicated cluster.

  • You have cluster or dedicated administrator permissions for OpenShift Dedicated.

  • You have created a broker.

  • You have created a Knative service to use as a subscriber.

Procedure
  1. In the Administrator perspective of the OpenShift Dedicated web console, navigate to ServerlessEventing.

  2. In the Broker tab, select the Options menu kebab for the broker that you want to add a trigger to.

  3. Click Add Trigger in the list.

  4. In the Add Trigger dialogue box, select a Subscriber for the trigger. The subscriber is the Knative service that will receive events from the broker.

  5. Click Add.

Creating a channel by using the Administrator perspective

If you have cluster or dedicated administrator permissions, you can create a channel by using the Administrator perspective in the web console.

Prerequisites
  • The OpenShift Serverless Operator and Knative Eventing are installed on your OpenShift Dedicated cluster.

  • You have cluster or dedicated administrator permissions for OpenShift Dedicated.

Procedure
  1. In the Administrator perspective of the OpenShift Dedicated web console, navigate to ServerlessEventing.

  2. In the Create list, select Channel. You will be directed to the Channel page.

  3. Select the type of Channel object that you want to create from the Type drop-down.

    Currently only InMemoryChannel channel objects are supported by default. Kafka channels are available if you have installed Knative Kafka on OpenShift Serverless.

  4. Click Create.

Creating a subscription by using the Administrator perspective

If you have cluster or dedicated administrator permissions and have created a channel, you can create a subscription to connect your broker to a subscriber by using the Administrator perspective in the web console.

Prerequisites
  • The OpenShift Serverless Operator and Knative Eventing are installed on your OpenShift Dedicated cluster.

  • You have cluster or dedicated administrator permissions for OpenShift Dedicated.

  • You have created a channel.

  • You have created a Knative service to use as a subscriber.

Procedure
  1. In the Administrator perspective of the OpenShift Dedicated web console, navigate to ServerlessEventing.

  2. In the Channel tab, select the Options menu kebab for the channel that you want to add a subscription to.

  3. Click Add Subscription in the list.

  4. In the Add Subscription dialogue box, select a Subscriber for the subscription. The subscriber is the Knative service that will receive events from the channel.

  5. Click Add.