OpenShift Serverless Functions is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
For more information about the support scope of Red Hat Technology Preview features, see https://access.redhat.com/support/offerings/techpreview/.
Functions are deployed as a Knative service on an OpenShift Container Platform cluster, and can be connected as a sink to Knative Eventing components.
You can create multiple event source types in OpenShift Container Platform that can be connected to sinks.
To connect an event source to a sink using the Developer perspective, ensure that:
The OpenShift Serverless Operator, Knative Serving, and Knative Eventing are installed on your OpenShift Container Platform cluster.
You have created a sink.
You have logged in to the web console and are in the Developer perspective.
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.
Create an event source of any type, by navigating to +Add → Event Sources and then selecting the event source type that you want to create.
In the Sink section of the Event Sources form view, select Resource. Then use the drop-down list to select your sink.
You can verify that the event source was created and is connected to the sink by viewing the Topology page.
In the Developer perspective, navigate to Topology.
View the event source and click on the connected sink to see the sink details in the side panel.