Skip to content

Commit 800f924

Browse files
authored
Merge pull request #40418 from abrennan89/reorg
SRVCOM-1580: move conceptual info to Discover section
2 parents 13ed713 + 3d74718 commit 800f924

12 files changed

+82
-90
lines changed

_topic_maps/_topic_map.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3138,10 +3138,12 @@ Topics:
31383138
Topics:
31393139
- Name: About OpenShift Serverless
31403140
File: about-serverless
3141-
- Name: Understanding Knative Eventing
3142-
File: serverless-understanding-eventing
3143-
- Name: Understanding Knative Serving
3144-
File: serverless-understanding-serving
3141+
- Name: About OpenShift Serverless Functions
3142+
File: serverless-functions-about
3143+
- Name: Knative Serving components
3144+
File: serverless-serving-components
3145+
- Name: Knative Eventing components
3146+
File: serverless-eventing-components
31453147
- Name: Install
31463148
Dir: install
31473149
Topics:
@@ -3283,8 +3285,6 @@ Topics:
32833285
- Name: Functions
32843286
Dir: functions
32853287
Topics:
3286-
- Name: About OpenShift Serverless Functions
3287-
File: serverless-functions-about
32883288
- Name: Setting up OpenShift Serverless Functions
32893289
File: serverless-functions-setup
32903290
- Name: Getting started with functions

modules/security-build-knative.adoc

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44

55
[id="security-build-knative_{context}"]
66
= Building Knative serverless applications
7-
Relying on Kubernetes and Kourier, you can build, deploy
8-
and manage serverless applications using
9-
link:https://knative.dev/[Knative] in {product-title}.
10-
As with other builds, you can use S2I images to build your containers,
11-
then serve them using Knative services.
12-
View Knative application builds through the
7+
8+
Relying on Kubernetes and Kourier, you can build, deploy, and manage serverless applications by using OpenShift Serverless in {product-title}.
9+
10+
As with other builds, you can use S2I images to build your containers, then serve them using Knative services. View Knative application builds through the
1311
*Topology* view of the {product-title} web console.

security/container_security/security-build.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ include::modules/security-build-knative.adoc[leveloffset=+1]
3333
* xref:../../cicd/builds/creating-build-inputs.adoc#builds-input-secrets-configmaps_creating-build-inputs[Input secrets and config maps]
3434
ifndef::openshift-origin[]
3535
// **This section is being moved, update the link once content is in.* add link here[The CI/CD methodology and practice]
36-
* xref:../../serverless/discover/serverless-understanding-serving.adoc#serverless-understanding-serving[Understanding Knative Serving]
36+
* xref:../../serverless/discover/about-serverless.adoc#about-serverless[About OpenShift Serverless]
3737
endif::[]
3838
* xref:../../applications/odc-viewing-application-composition-using-topology-view.adoc#odc-viewing-application-composition-using-topology-view[Viewing application composition using the Topology view]

serverless/discover/about-serverless.adoc

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,47 @@ include::modules/common-attributes.adoc[]
66

77
toc::[]
88

9-
Serverless is a cloud computing model where application developers do not need to provision servers or manage scaling for their applications. These routine tasks are abstracted away by the platform, allowing developers to push code to production more quickly than in traditional models.
10-
119
{ServerlessProductName} simplifies the process of delivering code from development into production by reducing the need for infrastructure set up or back-end development by developers.
1210

13-
Developers on {ServerlessProductName} can use the provided Kubernetes native APIs, as well as familiar languages and frameworks, to deploy applications and container workloads.
11+
Developers on {ServerlessProductName} can use the provided Kubernetes native APIs (Knative Serving and Eventing), as well as familiar languages and frameworks, to deploy applications and container workloads.
1412

1513
{ServerlessProductName} is based on the open source link:https://knative.dev/docs/[Knative project], which provides portability and consistency for hybrid and multi-cloud environments by enabling an enterprise-grade serverless platform.
1614

1715
[id="about-serverless-supported-configs"]
1816
== Supported configurations
1917

2018
The set of supported features, configurations, and integrations for {ServerlessProductName}, current and past versions, are available at the link:https://access.redhat.com/articles/4912821[Supported Configurations page].
19+
20+
[id="about-serverless-serving"]
21+
== Knative Serving
22+
23+
Knative Serving on {product-title} enables developers to write link:https://www.redhat.com/en/topics/cloud-native-apps[cloud-native applications] using link:https://www.redhat.com/en/topics/cloud-native-apps/what-is-serverless[serverless architecture].
24+
25+
Knative Serving supports deploying and managing cloud-native applications. It provides a set of objects as Kubernetes custom resource definitions (CRDs) that define and control the behavior of serverless workloads on an {product-title} cluster.
26+
27+
Developers use these CRDs to create custom resource (CR) instances that can be used as building blocks to address complex use cases. For example:
28+
29+
* Rapidly deploying serverless containers.
30+
* Automatically scaling pods.
31+
32+
[id="about-serverless-eventing"]
33+
== Knative Eventing
34+
35+
Knative Eventing on {product-title} enables developers to use an link:https://www.redhat.com/en/topics/integration/what-is-event-driven-architecture[event-driven architecture] with serverless applications.
36+
37+
An event-driven architecture is based on the concept of decoupled relationships between event producers and event consumers. Event producers create events, and event xref:../../serverless/knative_eventing/serverless-event-sinks.adoc#serverless-event-sinks[_sinks_], or consumers, receive events.
38+
39+
Knative Eventing uses standard HTTP POST requests to send and receive events between event producers and sinks. These events conform to the link:https://cloudevents.io[CloudEvents specifications], which enables creating, parsing, sending, and receiving events in any programming language.
40+
41+
Knative Eventing supports the following use cases:
42+
43+
Publish an event without creating a consumer:: You can send events to a broker as an HTTP POST, and use binding to decouple the destination configuration from your application that produces events.
44+
45+
Consume an event without creating a publisher:: You can use a trigger to consume events from a broker based on event attributes. The application receives events as an HTTP POST.
46+
47+
[id="additional-resources_about-serverless"]
48+
== Additional resources
49+
50+
* For more information about CRDs, see xref:../../operators/understanding/crds/crd-extending-api-with-crds.adoc#crd-extending-api-with-crds[Extending the Kubernetes API with custom resource definitions].
51+
52+
* For more information about CRs, see xref:../../operators/understanding/crds/crd-managing-resources-from-crds.adoc#crd-managing-resources-from-crds[Managing resources from custom resource definitions].

serverless/discover/images

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../images

serverless/discover/modules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../modules
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
include::modules/serverless-document-attributes.adoc[]
2+
[id="serverless-eventing-components"]
3+
= Knative Eventing components
4+
include::modules/common-attributes.adoc[]
5+
:context: serverless-eventing-components
6+
7+
toc::[]
8+
9+
To enable delivery to multiple types of sinks, Knative Eventing defines the following generic interfaces that can be implemented by multiple Kubernetes resources:
10+
11+
Addressable resources:: Able to receive and acknowledge an event delivered over HTTP to an address defined in the `status.address.url` field of the event. The Kubernetes `Service` resource also satisfies the addressable interface.
12+
13+
Callable resources:: Able to receive an event delivered over HTTP and transform it, returning `0` or `1` new events in the HTTP response payload. These returned events may be further processed in the same way that events from an external event source are processed.
14+
15+
You can propagate an event from an xref:../../serverless/event_sources/knative-event-sources.adoc#knative-event-sources[event source] to multiple event sinks by using:
16+
17+
* xref:../../serverless/channels/serverless-channels.adoc#serverless-channels[channels] and subscriptions, or
18+
* xref:../../serverless/knative_eventing/serverless-using-brokers.adoc#serverless-using-brokers[brokers] and xref:../../serverless/knative_eventing/serverless-triggers.adoc#serverless-triggers[triggers].
File renamed without changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
include::modules/serverless-document-attributes.adoc[]
2+
[id="serverless-serving-components"]
3+
= Knative Serving components
4+
:context: serverless-serving-components
5+
include::modules/common-attributes.adoc[]
6+
7+
toc::[]
8+
9+
Service:: The `service.serving.knative.dev` CRD automatically manages the life cycle of your workload to ensure that the application is deployed and reachable through the network. It creates a route, a configuration, and a new revision for each change to a user created service, or custom resource. Most developer interactions in Knative are carried out by modifying services.
10+
11+
Revision:: The `revision.serving.knative.dev` CRD is a point-in-time snapshot of the code and configuration for each modification made to the workload. Revisions are immutable objects and can be retained for as long as necessary.
12+
13+
Route:: The `route.serving.knative.dev` CRD maps a network endpoint to one or more revisions. You can manage the traffic in several ways, including fractional traffic and named routes.
14+
15+
Configuration:: The `configuration.serving.knative.dev` CRD maintains the desired state for your deployment. It provides a clean separation between code and configuration. Modifying a configuration creates a new revision.

serverless/discover/serverless-understanding-eventing.adoc

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)