Skip to content

Commit

Permalink
Fixing typo in kubernetes workload scaler documentation (kedacore#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
arschles committed Aug 26, 2021
1 parent fe3de23 commit 93ef8a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/docs/2.4/scalers/kubernetes-workload.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ triggers:
**Parameter list:**
- `podSelector` - [Label selector](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors) that will be used to get the pod count. It supports multiple selectors split by coma (`,`). It also supports [set-based requirements](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#set-based-requirement) and a mix of them.
- `podSelector` - [Label selector](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors) that will be used to get the pod count. It supports multiple selectors split by a comma character (`,`). It also supports [set-based requirements](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#set-based-requirement) and a mix of them.
- `value` - Target relation between the scaled workload and the amount of pods which matches the selector. It will be calculated following this formula: `relation = (pods which match selector) / (scaled workload pods)`

> 💡 **Note:** The search scope is limited to the namespace where the `ScaledObject` is deployed.
Expand Down
2 changes: 1 addition & 1 deletion content/docs/2.5/scalers/kubernetes-workload.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ triggers:
**Parameter list:**
- `podSelector` - [Label selector](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors) that will be used to get the pod count. It supports multiple selectors split by coma (`,`). It also supports [set-based requirements](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#set-based-requirement) and a mix of them.
- `podSelector` - [Label selector](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors) that will be used to get the pod count. It supports multiple selectors split by a comma character (`,`). It also supports [set-based requirements](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#set-based-requirement) and a mix of them.
- `value` - Target relation between the scaled workload and the amount of pods which matches the selector. It will be calculated following this formula: `relation = (pods which match selector) / (scaled workload pods)`

> 💡 **Note:** The search scope is limited to the namespace where the `ScaledObject` is deployed.
Expand Down

0 comments on commit 93ef8a7

Please sign in to comment.