-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[srvls][RHDEVDOCS-2749] Add functions with eventing docs #32585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// Module included in the following assemblies: | ||
// | ||
// * serverless/channels/connect-channels-event-source.adoc | ||
// * serverless/event_sources/srvls-connecting-source-sinks.adoc | ||
|
||
[id="serverless-connect-sink-source-odc_{context}"] | ||
= Connect an event source to a sink using the Developer perspective | ||
|
||
You can create multiple event source types in {product-title} that can be connected to sinks. | ||
|
||
A sink is an addressable resource that can receive incoming events from other Knative Eventing resources. Knative services, channels, and brokers are all examples of sinks. | ||
// Add functions as services to the list for tech preview | ||
|
||
.Prerequisites | ||
|
||
To connect an event source to a sink using the *Developer* perspective, ensure that: | ||
|
||
* The {ServerlessOperatorName}, Knative Serving, and Knative Eventing are installed on your {product-title} 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 {product-title}. | ||
|
||
.Procedure | ||
|
||
. 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. | ||
abrennan89 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
. Click *Create*. | ||
|
||
.Verification | ||
|
||
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
include::modules/serverless-document-attributes.adoc[] | ||
[id="serverless-functions-eventing"] | ||
= Using functions with Knative Eventing | ||
:context: serverless-functions-eventing | ||
include::modules/common-attributes.adoc[] | ||
|
||
toc::[] | ||
|
||
:FeatureName: {FunctionsProductName} | ||
include::modules/technology-preview.adoc[leveloffset=+2] | ||
|
||
Functions are deployed as a Knative service on a {product-title} cluster, and can be connected as a sink to Knative Eventing components. | ||
|
||
include::modules/serverless-connect-sink-source-odc.adoc[leveloffset=+1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.