Skip to content

Commit f78db32

Browse files
authored
Merge pull request #33047 from abrennan89/SRVCOM-1296
SRVCOM-1296: Update serverless docs IDs
2 parents 9c0de50 + b99077f commit f78db32

23 files changed

+95
-79
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * serverless/admin_guide/removing-openshift-serverless.adoc
4+
5+
[id="serverless-deleting-crds_{context}"]
6+
= Deleting {ServerlessProductName} custom resource definitions
7+
8+
After uninstalling the {ServerlessProductName}, the Operator and API custom resource definitions (CRDs) remain on the cluster.
9+
You can use the following procedure to remove the remaining CRDs.
10+
11+
[IMPORTANT]
12+
====
13+
Removing the Operator and API CRDs also removes all resources that were defined using them, including Knative services.
14+
====
15+
16+
.Prerequisites
17+
18+
* You uninstalled Knative Serving and removed the {ServerlessOperatorName}.
19+
20+
.Procedure
21+
22+
* To delete the remaining {ServerlessProductName} CRDs, enter the following command:
23+
+
24+
[source,terminal]
25+
----
26+
$ oc get crd -oname | grep 'knative.dev' | xargs oc delete
27+
----
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * serverless/integrations/gpu-resources.adoc
4+
5+
[id="serverless-gpu-resources-kn_{context}"]
6+
= Specifying GPU requirements for a service
7+
8+
After GPU resources are enabled for your {product-title} cluster, you can specify GPU requirements for a Knative service using the `kn` CLI.
9+
10+
[NOTE]
11+
====
12+
Using NVIDIA GPU resources is not supported for IBM Z and IBM Power Systems.
13+
====
14+
15+
.Procedure
16+
17+
. Create a Knative service and set the GPU resource requirement limit to `1` by using the `--limit nvidia.com/gpu=1` flag:
18+
+
19+
[source,terminal]
20+
----
21+
$ kn service create hello --image <service-image> --limit nvidia.com/gpu=1
22+
----
23+
+
24+
A GPU resource requirement limit of `1` means that the service has 1 GPU resource dedicated. Services do not share GPU resources. Any other services that require GPU resources must wait until the GPU resource is no longer in use.
25+
+
26+
A limit of 1 GPU also means that applications exceeding usage of 1 GPU resource are restricted. If a service requests more than 1 GPU resource, it is deployed on a node where the GPU resource requirements can be met.
27+
28+
. Optional. For an existing service, you can change the GPU resource requirement limit to `3` by using the `--limit nvidia.com/gpu=3` flag:
29+
+
30+
[source,terminal]
31+
----
32+
$ kn service update hello --limit nvidia.com/gpu=3
33+
----

serverless/admin_guide/installing-knative-eventing.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@ This guide provides information about installing Knative Eventing using the defa
1313

1414
// For more information about configuration options for the KnativeEventing custom resource definition, see xref:../../serverless/admin_guide/serverless-install-config-options.adoc#serverless-install-config-options[Advanced installation configuration options].
1515

16-
[id="installing-knative-eventing-prerequisites"]
16+
[id="prerequisites_installing-knative-eventing"]
1717
== Prerequisites
18+
1819
* You have access to an {product-title} account with cluster administrator access.
1920
* You have installed {ServerlessOperatorName}.
2021

2122
include::modules/serverless-install-eventing-web-console.adoc[leveloffset=+1]
2223
include::modules/serverless-install-eventing-yaml.adoc[leveloffset=+1]
2324

24-
[id="installing-knative-eventing-next-steps"]
25+
[id="next-steps_installing-knative-eventing"]
2526
== Next steps
2627

2728
* Install the Knative CLI to use `kn` commands with Knative Eventing. For example, `kn source` commands. See xref:../../serverless/installing-kn.adoc#installing-kn[Installing the Knative CLI].

serverless/admin_guide/installing-knative-serving.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@ After you install the {ServerlessOperatorName}, you can install Knative Serving.
1010
This guide provides information about installing Knative Serving using the default settings. However, you can configure more advanced settings in the `KnativeServing` custom resource definition (CRD).
1111
For more information about configuration options for the `KnativeServing` CRD, see xref:../../serverless/admin_guide/serverless-install-config-options.adoc#serverless-install-config-options[Advanced installation configuration options].
1212

13-
[id="installing-knative-serving-prerequisites"]
13+
[id="prerequisites_installing-knative-serving"]
1414
== Prerequisites
15+
1516
* You have access to an {product-title} account with cluster administrator access.
1617
* You have installed the {ServerlessOperatorName}.
1718

1819
include::modules/serverless-install-serving-web-console.adoc[leveloffset=+1]
1920
include::modules/serverless-install-serving-yaml.adoc[leveloffset=+1]
2021

21-
[id="installing-knative-serving-next-steps"]
22+
[id="next-steps_installing-knative-serving"]
2223
== Next steps
2324

2425
* For cloud events functionality on {ServerlessProductName}, you can install the Knative Eventing component. See the documentation on xref:../../serverless/admin_guide/installing-knative-eventing.adoc#installing-knative-eventing[Installing Knative Eventing].

serverless/admin_guide/installing-openshift-serverless.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ See xref:../../machine_management/manually-scaling-machineset.adoc#manually-scal
3737

3838
include::modules/serverless-install-web-console.adoc[leveloffset=+1]
3939

40-
[id="installing-openshift-serverless-next-steps"]
40+
[id="next-steps_installing-openshift-serverless"]
4141
== Next steps
4242

4343
* After the {ServerlessOperatorName} is installed, you can install the Knative Serving component. See the documentation on xref:../../serverless/admin_guide/installing-knative-serving.adoc#installing-knative-serving[Installing Knative Serving].

serverless/admin_guide/removing-openshift-serverless.adoc

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,10 @@ include::modules/serverless-uninstalling-knative-serving.adoc[leveloffset=+1]
1818
// Uninstalling Knative Eventing
1919
include::modules/serverless-uninstalling-knative-eventing.adoc[leveloffset=+1]
2020

21-
[id="removing-the-operator"]
21+
[id="removing-openshift-serverless-removing-the-operator"]
2222
== Removing the {ServerlessOperatorName}
2323

2424
You can remove the {ServerlessOperatorName} from the host cluster by following the documentation on xref:../../operators/admin/olm-deleting-operators-from-cluster.adoc#olm-deleting-operators-from-a-cluster[Deleting Operators from a cluster].
2525

26-
[id="deleting-serverless-CRDs"]
27-
== Deleting {ServerlessProductName} custom resource definitions
28-
29-
After uninstalling the {ServerlessProductName}, the Operator and API custom resource definitions (CRDs) remain on the cluster.
30-
You can use the following procedure to remove the remaining CRDs.
31-
32-
[IMPORTANT]
33-
====
34-
Removing the Operator and API CRDs also removes all resources that were defined using them, including Knative services.
35-
====
36-
37-
== Prerequisites
38-
* You uninstalled Knative Serving and removed the {ServerlessOperatorName}.
39-
40-
.Procedure
41-
* To delete the remaining {ServerlessProductName} CRDs, enter the following command:
42-
+
43-
[source,terminal]
44-
----
45-
$ oc get crd -oname | grep 'knative.dev' | xargs oc delete
46-
----
26+
// deleting serverless CRDs
27+
include::modules/serverless-deleting-crds.adoc[leveloffset=+1]

serverless/admin_guide/serverless-install-config-options.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ include::modules/knative-serving-advanced-config.adoc[leveloffset=+1]
1414
// image::eventing-form-view.png[Create Knative Eventing form]
1515
// TODO: Add when there's more information for eventing.
1616

17-
[id="serverless-install-config-options-additional-resources"]
17+
[id="additional-resources_serverless-install-config-options"]
1818
== Additional resources
19+
1920
* For more information about configuring high availability, see xref:../../serverless/serverless-HA.adoc#serverless-HA[High availability on {ServerlessProductName}].

serverless/admin_guide/serverless-metering.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ For more information about metering on {product-title}, see xref:../../metering/
1515
Metering is not currently supported for IBM Z and IBM Power Systems.
1616
====
1717

18-
[id="installing-metering-serverless_{context}"]
18+
[id="installing-metering-serverless"]
1919
== Installing metering
20+
2021
For information about installing metering on {product-title}, see xref:../../metering/metering-installing-metering.adoc#installing-metering[Installing Metering].
2122

2223
include::modules/serverless-metering-datasources.adoc[leveloffset=+1]

serverless/event_sources/serverless-apiserversource.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ toc::[]
88

99
The API server source is an event source that can be used to connect an event sink, such as a Knative service, to the Kubernetes API server. The API server source watches for Kubernetes events and forwards them to the Knative Eventing broker.
1010

11-
[id="serverless-apiserversource-prerequisites"]
11+
[id="prerequisites_serverless-apiserversource"]
1212
== Prerequisites
1313

1414
* You must have a current installation of xref:../../serverless/admin_guide/installing-openshift-serverless.adoc#serverless-install-web-console_installing-openshift-serverless[{ServerlessProductName}], including Knative Serving and Eventing, in your {product-title} cluster. This can be installed by a cluster administrator.

serverless/event_workflows/serverless-event-delivery.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Back off policy:: The `backoffPolicy` delivery parameter can be used to specify
2626

2727
include::modules/serverless-subscription-event-delivery-config.adoc[leveloffset=+1]
2828

29-
[id="serverless-event-delivery-additional-resources"]
29+
[id="additional-resources_serverless-event-delivery"]
3030
== Additional resources
3131

3232
* See xref:../../serverless/channels/serverless-channels.adoc#serverless-channels[Knative Eventing workflows using channels] for more information about subscriptions.

0 commit comments

Comments
 (0)