Skip to content

Commit 4d8a19d

Browse files
authored
Merge pull request #80903 from mburke5678/cma-cron-trigger-rn-link
CMA add link to new Cron trigger docs
2 parents 342612c + 796ad67 commit 4d8a19d

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

modules/nodes-cma-autoscaling-custom-trigger-cron.adoc

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

55
:_mod-docs-content-type: PROCEDURE
66
[id="nodes-cma-autoscaling-custom-trigger-cron_{context}"]
7-
= Understanding the cron trigger
7+
= Understanding the Cron trigger
88

99
You can scale pods based on a time range.
1010

1111
When the time range starts, the custom metrics autoscaler scales the pods associated with an object from the configured minimum number of pods to the specified number of desired pods. At the end of the time range, the pods are scaled back to the configured minimum. The time period must be configured in link:https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#writing-a-cronjob-spec[cron format].
1212

1313
[NOTE]
1414
====
15-
The custom metrics autoscaler with cron trigger scales pods based only on the specified times and cannot scale pods on a daily, weekly, monthly, or yearly schedule.
15+
The custom metrics autoscaler with Cron trigger scales pods based only on the specified times and cannot scale pods on a daily, weekly, monthly, or yearly schedule.
1616
====
1717

1818
The following example scales the pods associated with this scaled object from `0` to `100` from 6:00 AM to 6:30 PM India Standard Time.
1919

20-
.Example scaled object with a cron trigger
20+
.Example scaled object with a Cron trigger
2121
[source,yaml]
2222
----
2323
apiVersion: keda.sh/v1alpha1
@@ -41,7 +41,7 @@ spec:
4141
----
4242
<1> Specifies the minimum number of pods to scale down to at the end of the time frame.
4343
<2> Specifies the maximum number of replicas when scaling up. This value should be the same as `desiredReplicas`. The default is `100`.
44-
<3> Specifies a cron trigger.
44+
<3> Specifies a Cron trigger.
4545
<4> Specifies the timezone for the time frame. This value must be from the link:https://data.iana.org/time-zones/tzdb-2021a/zone1970.tab[IANA Time Zone Database].
4646
<5> Specifies the start of the time frame.
4747
<6> Specifies the end of the time frame.

nodes/cma/nodes-cma-rn/nodes-cma-autoscaling-custom-rn.adoc

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,11 @@ Before installing this version of the Custom Metrics Autoscaler Operator, remove
6161
=== New features and enhancements
6262

6363
[id="nodes-pods-autoscaling-custom-rn-2141-new-ca_{context}"]
64-
==== Support for the cron trigger with the Custom Metrics Autoscaler Operator
64+
==== Support for the Cron trigger with the Custom Metrics Autoscaler Operator
6565

6666
The Custom Metrics Autoscaler Operator can now use the Cron trigger to scale pods based on an hourly schedule. When your specified time frame starts, the Custom Metrics Autoscaler Operator scales pods to your desired amount. When the time frame ends, the Operator scales back down to the previous level.
6767

68-
For more information, see link:https://keda.sh/docs/2.14/scalers/cron/[Cron] in the Keda documentation.
69-
70-
////
71-
If I can get this module reviewed on time for CMA 2.14.1 GA, add this link in place of the Keda docs link.
72-
For more information, see xref: nodes/cma/nodes-cma-autoscaling-custom-trigger.html#nodes-cma-autoscaling-custom-trigger-cron_nodes-cma-autoscaling-custom-trigger[Understanding the cron trigger].
73-
////
68+
For more information, see xref:../../../nodes/cma/nodes-cma-autoscaling-custom-trigger.adoc#nodes-cma-autoscaling-custom-trigger-cron_nodes-cma-autoscaling-custom-trigger[Understanding the Cron trigger].
7469

7570
[id="nodes-pods-autoscaling-custom-rn-2141-bugs_{context}"]
7671
=== Bug fixes

0 commit comments

Comments
 (0)