Skip to content

Commit

Permalink
The kubernetes-workload scaler should only count running pods (kedaco…
Browse files Browse the repository at this point in the history
…re#605)

Signed-off-by: Staffan Olsson <staffan@repos.se>
  • Loading branch information
solsson committed Dec 6, 2021
1 parent fb69ad2 commit bfe06a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/docs/2.6/scalers/kubernetes-workload.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title = "Kubernetes Workload"
layout = "scaler"
availability = "v2.4+"
maintainer = "Community"
description = "Scale applications based on the amount of pods which matches the given selectors."
description = "Scale applications based on the count of running pods that match the given selectors."
go_file = "kubernetes_workload_scaler"
+++

Expand All @@ -24,6 +24,8 @@ triggers:

> 💡 **Note:** The search scope is limited to the namespace where the `ScaledObject` is deployed.
The count excludes terminated pods, i.e. [pod status](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.22/#podstatus-v1-core) `phase` equals `Succeeded` or `Failed`.

### Authentication Parameters

The own KEDA's identity is used to list the pods, so no extra configuration is needed here.
Expand Down

0 comments on commit bfe06a2

Please sign in to comment.