Skip to content

Commit 7340454

Browse files
authored
Merge pull request #43288 from abrennan89/SRVCOM-1728
SRVCOM-1728: Update serverless abstracts to align with Jupiter requirements
2 parents 2c1568c + b03a3e8 commit 7340454

9 files changed

+30
-39
lines changed

modules/about-knative-eventing.adoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@
66
[id="about-knative-eventing_{context}"]
77
= Knative Eventing
88

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.
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. An event-driven architecture is based on the concept of decoupled relationships between event producers and event consumers.
1010

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.
11+
Event producers create events, and event _sinks_, or consumers, receive events. 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.
1412

1513
Knative Eventing supports the following use cases:
1614

modules/about-knative-serving.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
[id="about-knative-serving_{context}"]
77
= Knative Serving
88

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.
9+
Knative Serving supports developers who want to create, deploy, and manage link:https://www.redhat.com/en/topics/cloud-native-apps[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.
1210

1311
Developers use these CRDs to create custom resource (CR) instances that can be used as building blocks to address complex use cases. For example:
1412

modules/serverless-api-versions.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
[id="serverless-api-versions_{context}"]
77
= About API versions
88

9-
The {ServerlessOperatorName} automatically upgrades older resources that use deprecated versions of APIs to use the latest version.
9+
API versions are an important measure of the development status of certain features and custom resources in {ServerlessProductName}. Creating resources on your cluster that do not use the correct API version can cause issues in your deployment.
1010

11-
For example, if you have created resources on your cluster that use older versions of the `ApiServerSource` API, such as `v1beta1`, the {ServerlessOperatorName} automatically updates these resources to use the `v1` version of the API when this is available and the `v1beta1` version is deprecated.
11+
The {ServerlessOperatorName} automatically upgrades older resources that use deprecated versions of APIs to use the latest version. For example, if you have created resources on your cluster that use older versions of the `ApiServerSource` API, such as `v1beta1`, the {ServerlessOperatorName} automatically updates these resources to use the `v1` version of the API when this is available and the `v1beta1` version is deprecated.
1212

1313
After they have been deprecated, older versions of APIs might be removed in any upcoming release. Using deprecated versions of APIs does not cause resources to fail. However, if you try to use a version of an API that has been removed, it will cause resources to fail. Ensure that your manifests are updated to use the latest version to avoid issues.

modules/serverless-cluster-sizing-req.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
[id="serverless-cluster-sizing-req_{context}"]
77
= Defining cluster size requirements
88

9-
To install and use {ServerlessProductName}, the {product-title} cluster must be sized correctly.
9+
To install and use {ServerlessProductName}, the {product-title} cluster must be sized correctly. The total size requirements to run {ServerlessProductName} are dependent on the components that are installed and the applications that are deployed, and might vary depending on your deployment.
1010

1111
[NOTE]
1212
====
1313
The following requirements relate only to the pool of worker machines of the {product-title} cluster. Control plane nodes are not used for general scheduling and are omitted from the requirements.
1414
====
1515

16-
The total size requirements to run {ServerlessProductName} are dependent on the applications deployed. By default, each pod requests approximately 400m of CPU, so the minimum requirements are based on this value. Lowering the actual CPU request of applications can increase the number of possible replicas.
16+
By default, each pod requests approximately 400m of CPU, so the minimum requirements are based on this value. Lowering the actual CPU request of applications can increase the number of possible replicas.
1717

1818
If you have high availability (HA) enabled on your cluster, this requires between 0.5 - 1.5 cores and between 200MB - 2GB of memory for each replica of the Knative Serving control plane.

modules/serverless-install-web-console.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="serverless-install-web-console_{context}"]
77
= Installing the {ServerlessOperatorName}
88

9-
This procedure describes how to install and subscribe to the {ServerlessOperatorName} from the OperatorHub by using the {product-title} web console.
9+
You can install the {ServerlessOperatorName} from the OperatorHub by using the {product-title} web console. Installing this Operator enables you to install and use Knative components.
1010

1111
.Prerequisites
1212

@@ -32,7 +32,7 @@ endif::[]
3232

3333
.. The *Installation Mode* is *All namespaces on the cluster (default)*. This mode installs the Operator in the default `openshift-serverless` namespace to watch and be made available to all namespaces in the cluster.
3434

35-
.. The *Installed Namespace* will be `openshift-serverless`.
35+
.. The *Installed Namespace* is `openshift-serverless`.
3636

3737
.. Select the *stable* channel as the *Update Channel*. The *stable* channel will enable installation of the latest stable release of the {ServerlessOperatorName}.
3838

serverless/discover/about-serverless.adoc

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@ include::_attributes/serverless-document-attributes.adoc[]
77

88
toc::[]
99

10-
{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.
11-
12-
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.
13-
14-
{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.
10+
{ServerlessProductName} provides Kubernetes native building blocks that enable developers to create and deploy serverless, event-driven applications on {product-title}. {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.
1511

1612
// Knative Serving
1713
include::modules/about-knative-serving.adoc[leveloffset=+1]
@@ -21,8 +17,8 @@ include::modules/about-knative-eventing.adoc[leveloffset=+1]
2117

2218
You can propagate an event from an xref:../../serverless/discover/knative-event-sources.adoc#knative-event-sources[event source] to multiple event sinks by using:
2319

24-
* xref:../../serverless/discover/serverless-channels.adoc#serverless-channels[channels] and subscriptions, or
25-
* xref:../../serverless/develop/serverless-using-brokers.adoc#serverless-using-brokers[brokers] and xref:../../serverless/develop/serverless-triggers.adoc#serverless-triggers[triggers].
20+
* xref:../../serverless/discover/serverless-channels.adoc#serverless-channels[Channels and subscriptions], or
21+
* xref:../../serverless/develop/serverless-using-brokers.adoc#serverless-using-brokers[Brokers] and xref:../../serverless/develop/serverless-triggers.adoc#serverless-triggers[Triggers].
2622
2723
// add something about CLI tools?
2824

@@ -32,12 +28,11 @@ You can propagate an event from an xref:../../serverless/discover/knative-event-
3228
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].
3329

3430
// only included for OCP currently until CRD docs are available in OSD
35-
ifdef::openshift-online[]
31+
ifdef::openshift-enterprise[]
3632
[id="additional-resources_about-serverless"]
3733
[role="_additional-resources"]
3834
== Additional resources
39-
40-
* 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].
41-
42-
* 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].
35+
* xref:../../operators/understanding/crds/crd-extending-api-with-crds.adoc#crd-extending-api-with-crds[Extending the Kubernetes API with custom resource definitions]
36+
* xref:../../operators/understanding/crds/crd-managing-resources-from-crds.adoc#crd-managing-resources-from-crds[Managing resources from custom resource definitions]
4337
endif::[]
38+
* link:https://www.redhat.com/en/topics/cloud-native-apps/what-is-serverless[What is serverless?]

serverless/discover/serverless-functions-about.adoc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ include::_attributes/serverless-document-attributes.adoc[]
77

88
toc::[]
99

10+
{FunctionsProductName} enables developers to create and deploy stateless, event-driven functions as a Knative service on {product-title}. The `kn func` CLI is provided as a plug-in for the Knative `kn` CLI. {FunctionsProductName} uses the link:https://buildpacks.io/[CNCF Buildpack API] to create container images. After a container image is created, you can use the `kn func` CLI to deploy the container image as a Knative service on the cluster.
11+
1012
:FeatureName: {FunctionsProductName}
1113
include::snippets/technology-preview.adoc[leveloffset=+2]
1214

13-
{FunctionsProductName} enables developers to create and deploy stateless, event-driven functions as a Knative service on {product-title}.
14-
15-
The `kn func` CLI is provided as a plug-in for the Knative `kn` CLI. {FunctionsProductName} uses the link:https://buildpacks.io/[CNCF Buildpack API] to create container images. After a container image has been created, you can use the `kn func` CLI to deploy the container image as a Knative service on the cluster.
16-
1715
[id="serverless-functions-about-runtimes"]
1816
== Supported runtimes
1917

@@ -29,4 +27,4 @@ The `kn func` CLI is provided as a plug-in for the Knative `kn` CLI. {FunctionsP
2927
[id="next-steps_serverless-functions-about"]
3028
== Next steps
3129

32-
* See xref:../../serverless/functions/serverless-functions-getting-started.adoc#serverless-functions-getting-started[Getting started with functions].
30+
* xref:../../serverless/functions/serverless-functions-getting-started.adoc#serverless-functions-getting-started[Getting started with functions].

serverless/install/install-serverless-operator.adoc

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ include::_attributes/common-attributes.adoc[]
77

88
toc::[]
99

10-
You can install the {ServerlessOperatorName} to an {product-title} cluster by following the procedures in this document.
10+
Installing the {ServerlessOperatorName} enables you to install and use Knative Serving, Knative Eventing, and Knative Kafka on a {product-title} cluster. The {ServerlessOperatorName} manages Knative custom resource definitions (CRDs) for your cluster and enables you to configure them without directly modifying individual config maps for each component.
1111

12+
// OCP specific docs
1213
ifdef::openshift-enterprise[]
1314
[id="install-serverless-operator-before-you-begin"]
1415
== Before you begin
@@ -20,21 +21,22 @@ Read the following information about supported configurations and prerequisites
2021
* {ServerlessProductName} currently cannot be used in a multi-tenant configuration on a single cluster.
2122
2223
include::modules/serverless-cluster-sizing-req.adoc[leveloffset=+2]
23-
endif::[]
2424

25-
ifdef::openshift-dedicated[]
26-
include::modules/serverless-cluster-sizing-req.adoc[leveloffset=+1]
27-
endif::[]
28-
29-
ifdef::openshift-enterprise[]
3025
[id="install-serverless-operator-scaling-with-machinesets"]
3126
=== Scaling your cluster using machine sets
3227

3328
You can use the {product-title} `MachineSet` API to manually scale your cluster up to the desired size. The minimum requirements usually mean that you must scale up one of the default machine sets by two additional machines. See xref:../../machine_management/manually-scaling-machineset.adoc#manually-scaling-machineset[Manually scaling a machine set].
34-
endif::[]
29+
3530
// TODO: Add OSD specific docs for auto scaling machine sets? These docs aren't available for OSD so we need to look into what's required to doc here.
3631
// QE thread related: https://coreos.slack.com/archives/CD87JDUB0/p1643986092796179
32+
endif::[]
33+
34+
// OSD docs
35+
ifdef::openshift-dedicated[]
36+
include::modules/serverless-cluster-sizing-req.adoc[leveloffset=+1]
37+
endif::[]
3738

39+
// universal install doc
3840
include::modules/serverless-install-web-console.adoc[leveloffset=+1]
3941

4042
[id="additional-resources_install-serverless-operator"]

serverless/serverless-release-notes.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ include::_attributes/serverless-document-attributes.adoc[]
77

88
toc::[]
99

10-
This topic includes information about new features, changes, and known issues that pertain to the latest {ServerlessProductName} release on {product-title}.
10+
Release notes contain information about new and deprecated features, breaking changes, and known issues. The following release notes apply for the most recent {ServerlessProductName} releases on {product-title}.
1111

1212
For an overview of {ServerlessProductName} functionality, see xref:../serverless/discover/about-serverless.adoc#about-serverless[About {ServerlessProductName}].
1313

0 commit comments

Comments
 (0)