Skip to content

Commit

Permalink
chore: Promote Scaling Modifiers to GA (#1460)
Browse files Browse the repository at this point in the history
* chore: Promote Scaling Modifiers to GA

Signed-off-by: Jorge Turrado <[email protected]>

* chore: Promote Scaling Modifiers to GA

Signed-off-by: Jorge Turrado <[email protected]>

* chore: Promote Scaling Modifiers to GA

Signed-off-by: Jorge Turrado <[email protected]>

---------

Signed-off-by: Jorge Turrado <[email protected]>
  • Loading branch information
JorTurFer authored Aug 27, 2024
1 parent 311805c commit 4c95c44
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion content/docs/2.15/concepts/scaling-deployments.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Typically, either one or the other is being used given they serve a different pu
To unpause (reenable) autoscaling again, remove all paused annotations from the `ScaledObject` definition. If you paused with `autoscaling.keda.sh/paused`, you can unpause by setting the annotation to `false`.


## Scaling Modifiers (Experimental)
## Scaling Modifiers

**Example: compose average value**

Expand Down
4 changes: 2 additions & 2 deletions content/docs/2.15/reference/scaledobject-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ advanced:

### scalingModifiers

The `scalingModifiers` is optional and **experimental**. If defined, both `target` and `formula` are mandatory. Using this structure creates `composite-metric` for the HPA that will replace all requests for external metrics and handle them internally. With `scalingModifiers` each trigger used in the `formula` **must** have a name defined.
If defined, both `target` and `formula` are mandatory. Using this structure creates `composite-metric` for the HPA that will replace all requests for external metrics and handle them internally. With `scalingModifiers` each trigger used in the `formula` **must** have a name defined.

#### scalingModifiers.target

Expand All @@ -227,7 +227,7 @@ The `scalingModifiers` is optional and **experimental**. If defined, both `targe

`formula` composes metrics together and allows them to be modified/manipulated. It accepts mathematical/conditional statements using [this external project](https://github.com/antonmedv/expr). If the `fallback` scaling feature is in effect, the `formula` will NOT modify its metrics (therefore it modifies metrics only when all of their triggers are healthy). Complete language definition of `expr` package can be found [here](https://expr.medv.io/docs/Language-Definition). Formula must return a single value (not boolean).

For examples of this feature see section [Scaling Modifiers](../concepts/scaling-deployments.md#scaling-modifiers-experimental).
For examples of this feature see section [Scaling Modifiers](../concepts/scaling-deployments.md).


## triggers
Expand Down
2 changes: 1 addition & 1 deletion content/docs/2.16/concepts/scaling-deployments.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Typically, either one or the other is being used given they serve a different pu
To unpause (reenable) autoscaling again, remove all paused annotations from the `ScaledObject` definition. If you paused with `autoscaling.keda.sh/paused`, you can unpause by setting the annotation to `false`.


## Scaling Modifiers (Experimental)
## Scaling Modifiers

**Example: compose average value**

Expand Down
4 changes: 2 additions & 2 deletions content/docs/2.16/reference/scaledobject-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ advanced:

### scalingModifiers

The `scalingModifiers` is optional and **experimental**. If defined, both `target` and `formula` are mandatory. Using this structure creates `composite-metric` for the HPA that will replace all requests for external metrics and handle them internally. With `scalingModifiers` each trigger used in the `formula` **must** have a name defined.
If defined, both `target` and `formula` are mandatory. Using this structure creates `composite-metric` for the HPA that will replace all requests for external metrics and handle them internally. With `scalingModifiers` each trigger used in the `formula` **must** have a name defined.

#### scalingModifiers.target

Expand All @@ -227,7 +227,7 @@ The `scalingModifiers` is optional and **experimental**. If defined, both `targe

`formula` composes metrics together and allows them to be modified/manipulated. It accepts mathematical/conditional statements using [this external project](https://github.com/antonmedv/expr). If the `fallback` scaling feature is in effect, the `formula` will NOT modify its metrics (therefore it modifies metrics only when all of their triggers are healthy). Complete language definition of `expr` package can be found [here](https://expr.medv.io/docs/Language-Definition). Formula must return a single value (not boolean).

For examples of this feature see section [Scaling Modifiers](../concepts/scaling-deployments.md#scaling-modifiers-experimental).
For examples of this feature see section [Scaling Modifiers](../concepts/scaling-deployments.md).


## triggers
Expand Down

0 comments on commit 4c95c44

Please sign in to comment.