Skip to content

Commit bfe06a2

Browse files
authored
The kubernetes-workload scaler should only count running pods (kedacore#605)
Signed-off-by: Staffan Olsson <[email protected]>
1 parent fb69ad2 commit bfe06a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/docs/2.6/scalers/kubernetes-workload.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title = "Kubernetes Workload"
33
layout = "scaler"
44
availability = "v2.4+"
55
maintainer = "Community"
6-
description = "Scale applications based on the amount of pods which matches the given selectors."
6+
description = "Scale applications based on the count of running pods that match the given selectors."
77
go_file = "kubernetes_workload_scaler"
88
+++
99

@@ -24,6 +24,8 @@ triggers:
2424

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

27+
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`.
28+
2729
### Authentication Parameters
2830

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

0 commit comments

Comments
 (0)