From 93ef8a7e61e79addd8682053bb925c132e0cbd96 Mon Sep 17 00:00:00 2001 From: Aaron Schlesinger <70865+arschles@users.noreply.github.com> Date: Thu, 26 Aug 2021 10:37:31 -0700 Subject: [PATCH] Fixing typo in kubernetes workload scaler documentation (#517) --- content/docs/2.4/scalers/kubernetes-workload.md | 2 +- content/docs/2.5/scalers/kubernetes-workload.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/2.4/scalers/kubernetes-workload.md b/content/docs/2.4/scalers/kubernetes-workload.md index f32115186db..01fef9da3e8 100644 --- a/content/docs/2.4/scalers/kubernetes-workload.md +++ b/content/docs/2.4/scalers/kubernetes-workload.md @@ -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. diff --git a/content/docs/2.5/scalers/kubernetes-workload.md b/content/docs/2.5/scalers/kubernetes-workload.md index f32115186db..01fef9da3e8 100644 --- a/content/docs/2.5/scalers/kubernetes-workload.md +++ b/content/docs/2.5/scalers/kubernetes-workload.md @@ -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.