Skip to content

Commit b2ebd17

Browse files
authored
Merge pull request #41380 from abrennan89/prereqs
SRVCOM-1288 + SRVCOM-1664: Check that all serverless docs have prereqs and context attribute
2 parents 359b9a0 + db5d4d1 commit b2ebd17

15 files changed

+70
-57
lines changed

_topic_maps/_topic_map.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ Topics:
563563
- Name: Configuring the OpenShift CLI
564564
File: configuring-cli
565565
- Name: Managing CLI profiles
566-
File: managing-cli-profiles
566+
File: managing-cli-profiles
567567
- Name: Extending the OpenShift CLI with plug-ins
568568
File: extending-cli-plugins
569569
Distros: openshift-enterprise,openshift-origin
@@ -3173,10 +3173,6 @@ Topics:
31733173
File: about-serverless
31743174
- Name: About OpenShift Serverless Functions
31753175
File: serverless-functions-about
3176-
- Name: Knative Serving components
3177-
File: serverless-serving-components
3178-
- Name: Knative Eventing components
3179-
File: serverless-eventing-components
31803176
- Name: Event sources
31813177
File: knative-event-sources
31823178
- Name: Channels

_unused_topics/serverless-rn-template-module.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// * /serverless/serverless-release-notes.adoc
44

5+
:_content-type: REFERENCE
56
[id="serverless-rn-<version>_{context}"]
67
= Release Notes for Red Hat {ServerlessProductName} <version>
78
// add a version, e.g. 1.20.0
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Module included in the following assemblies
2+
//
3+
// * /serverless/about-serverless.adoc
4+
5+
:_content-type: CONCEPT
6+
[id="about-knative-eventing_{context}"]
7+
= Knative Eventing
8+
9+
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.
10+
11+
An event-driven architecture is based on the concept of decoupled relationships between event producers and event consumers. Event producers create events, and event _sinks_, or consumers, receive events.
12+
13+
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.
14+
15+
Knative Eventing supports the following use cases:
16+
17+
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.
18+
19+
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.
20+
21+
To enable delivery to multiple types of sinks, Knative Eventing defines the following generic interfaces that can be implemented by multiple Kubernetes resources:
22+
23+
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.
24+
25+
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.

serverless/discover/serverless-serving-components.adoc renamed to modules/about-knative-serving.adoc

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
1-
:_content-type: ASSEMBLY
2-
[id="serverless-serving-components"]
3-
= Knative Serving components
4-
:context: serverless-serving-components
5-
include::modules/common-attributes.adoc[]
6-
include::modules/serverless-document-attributes.adoc[]
7-
8-
toc::[]
1+
// Module included in the following assemblies
2+
//
3+
// * /serverless/about-serverless.adoc
4+
5+
:_content-type: CONCEPT
6+
[id="about-knative-serving_{context}"]
7+
= Knative Serving
8+
9+
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].
10+
11+
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.
12+
13+
Developers use these CRDs to create custom resource (CR) instances that can be used as building blocks to address complex use cases. For example:
14+
15+
* Rapidly deploying serverless containers.
16+
* Automatically scaling pods.
17+
18+
[id="about-knative-serving-resources_{context}"]
19+
== Knative Serving resources
920

1021
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.
1122

modules/serverless-api-versions.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * serverless/serverless-release-notes.adoc
4+
5+
:_content-type: CONCEPT
16
[id="serverless-api-versions_{context}"]
27
= About API versions
38

modules/serverless-deprecated-removed-features.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * serverless/serverless-release-notes.adoc
4+
5+
:_content-type: REFERENCE
16
[id="serverless-deprecated-removed-features_{context}"]
27
= Deprecated and removed features
38

modules/serverless-rn-1-16-0.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// * /serverless/serverless-release-notes.adoc
44

5+
:_content-type: REFERENCE
56
[id="serverless-rn-1-16-0_{context}"]
67
= Release Notes for Red Hat {ServerlessProductName} 1.16.0
78

modules/serverless-rn-1-17-0.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// * /serverless/serverless-release-notes.adoc
44

5+
:_content-type: REFERENCE
56
[id="serverless-rn-1-17-0_{context}"]
67
= Release Notes for Red Hat {ServerlessProductName} 1.17.0
78

modules/serverless-rn-1-18-0.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// * /serverless/serverless-release-notes.adoc
44

5+
:_content-type: REFERENCE
56
[id="serverless-rn-1-18-0_{context}"]
67
= Release Notes for Red Hat {ServerlessProductName} 1.18.0
78

modules/serverless-rn-1-19-0.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// * /serverless/serverless-release-notes.adoc
44

5+
:_content-type: REFERENCE
56
[id="serverless-rn-1-19-0_{context}"]
67
= Release Notes for Red Hat {ServerlessProductName} 1.19.0
78

0 commit comments

Comments
 (0)