Skip to content

Commit b85da55

Browse files
authored
Merge pull request #46355 from abrennan89/SRVCOM-1829-1
[SRVCOM-1829]: Update admin autoscaling abstracts and structure
2 parents 6d01c4a + c379d0d commit b85da55

7 files changed

+12
-40
lines changed

_topic_maps/_topic_map.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3444,8 +3444,6 @@ Topics:
34443444
File: serverless-kafka-admin
34453445
- Name: Serverless components in the Administrator perspective
34463446
File: serverless-admin-perspective
3447-
- Name: Autoscaling
3448-
File: serverless-admin-autoscaling
34493447
# Ingress options
34503448
- Name: Integrating Service Mesh with OpenShift Serverless
34513449
File: serverless-ossm-setup

_topic_maps/_topic_map_osd.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,6 @@ Topics:
286286
File: serverless-kafka-admin
287287
- Name: Serverless components in the Administrator perspective
288288
File: serverless-admin-perspective
289-
- Name: Autoscaling
290-
File: serverless-admin-autoscaling
291289
- Name: Integrating Service Mesh with OpenShift Serverless
292290
File: serverless-ossm-setup
293291
- Name: Serverless administrator metrics

modules/serverless-enable-scale-to-zero.adoc

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
// Module included in the following assemblies:
22
//
3-
// * serverless/admin_guide/serverless-admin-autoscaling.adoc
3+
// * /serverless/admin_guide/serverless-configuration.adoc
44

55
:_content-type: PROCEDURE
66
[id="serverless-enable-scale-to-zero_{context}"]
77
= Enabling scale-to-zero
88

9-
ifdef::openshift-enterprise[]
10-
Cluster administrators can enable or disable scale-to-zero globally for the cluster.
11-
endif::[]
12-
13-
ifdef::openshift-dedicated[]
14-
Cluster or dedicated administrators can enable or disable scale-to-zero globally for the cluster.
15-
endif::[]
9+
Knative Serving provides automatic scaling, or _autoscaling_, for applications to match incoming demand. You can use the `enable-scale-to-zero` spec to enable or disable scale-to-zero globally for applications on the cluster.
1610

1711
.Prerequisites
1812

@@ -30,8 +24,9 @@ endif::[]
3024
3125
.Procedure
3226

33-
* Modify the `enable-scale-to-zero` spec in the `KnativeServing` CR:
27+
* Modify the `enable-scale-to-zero` spec in the `KnativeServing` custom resource (CR):
3428
+
29+
.Example KnativeServing CR
3530
[source,yaml]
3631
----
3732
apiVersion: operator.knative.dev/v1alpha1

modules/serverless-scale-to-zero-grace-period.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Module included in the following assemblies:
22
//
3-
// * serverless/admin_guide/serverless-admin-autoscaling.adoc
3+
// * /serverless/admin_guide/serverless-configuration.adoc
44

55
:_content-type: PROCEDURE
66
[id="serverless-scale-to-zero-grace-period_{context}"]
77
= Configuring the scale-to-zero grace period
88

9-
This setting specifies an upper bound time limit that Knative waits for scale-from-zero machinery to be in place before the last replica of an application is removed.
9+
Knative Serving provides automatic scaling down to zero pods for applications. You can use the `scale-to-zero-grace-period` spec to define an upper bound time limit that Knative waits for scale-to-zero machinery to be in place before the last replica of an application is removed.
1010

1111
.Prerequisites
1212

@@ -20,12 +20,13 @@ ifdef::openshift-dedicated[]
2020
* You have cluster or dedicated administrator permissions.
2121
endif::[]
2222

23-
* You are using the default Knative Pod Autoscaler. The scale to zero feature is not available if you are using the Kubernetes Horizontal Pod Autoscaler.
23+
* You are using the default Knative Pod Autoscaler. The scale-to-zero feature is not available if you are using the Kubernetes Horizontal Pod Autoscaler.
2424
2525
.Procedure
2626

27-
* Modify the `scale-to-zero-grace-period` spec in the `KnativeServing` CR:
27+
* Modify the `scale-to-zero-grace-period` spec in the `KnativeServing` custom resource (CR):
2828
+
29+
.Example KnativeServing CR
2930
[source,yaml]
3031
----
3132
apiVersion: operator.knative.dev/v1alpha1

serverless/admin_guide/serverless-admin-autoscaling.adoc

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

serverless/admin_guide/serverless-configuration.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ The `spec.config` in the Knative custom resources have one `<name>` entry for ea
1616
include::modules/serverless-channel-default.adoc[leveloffset=+1]
1717

1818
// Knative Serving
19+
//autoscaling
20+
include::modules/serverless-enable-scale-to-zero.adoc[leveloffset=+1]
21+
include::modules/serverless-scale-to-zero-grace-period.adoc[leveloffset=+1]
1922
// deployments
2023
include::modules/knative-serving-CR-system-deployments.adoc[leveloffset=+1]
2124
// enable emptydirs

serverless/develop/serverless-autoscaling-developer.adoc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,3 @@ include::modules/serverless-about-concurrency.adoc[leveloffset=+1]
4141
include::modules/serverless-concurrency-limits-configure-soft.adoc[leveloffset=+2]
4242
include::modules/serverless-concurrency-limits-configure-hard.adoc[leveloffset=+2]
4343
include::modules/serverless-target-utilization.adoc[leveloffset=+2]
44-
45-
[id="additional-resources_serverless-autoscaling-developer"]
46-
[role="_additional-resources"]
47-
== Additional resources
48-
* xref:../../serverless/admin_guide/serverless-admin-autoscaling.adoc#serverless-enable-scale-to-zero_serverless-admin-autoscaling[Enabling scale-to-zero]

0 commit comments

Comments
 (0)