Skip to content

Commit 9a67a0e

Browse files
committed
chart: Deployment scale metricType should be Value instead of AverageValue
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent bf73ae9 commit 9a67a0e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

charts/selenium-grid/CONFIGURATION.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
344344
| autoscaling.scaledJobOptions.failedJobsHistoryLimit | int | `0` | Number of Failed jobs should be kept (for troubleshooting purposes) |
345345
| autoscaling.scaledJobOptions.jobTargetRef | object | `{"backoffLimit":0,"completions":1,"parallelism":1}` | Specify job target ref for KEDA ScaledJob |
346346
| autoscaling.scaledObjectOptions.scaleTargetRef.kind | string | `"Deployment"` | Target reference for KEDA ScaledObject |
347+
| autoscaling.scaledObjectOptions.advanced.scalingModifiers.metricType | string | `"Value"` | |
347348
| autoscaling.terminationGracePeriodSeconds | int | `3600` | Define terminationGracePeriodSeconds for scalingType "deployment". Period for `deregisterLifecycle` to gracefully shut down the node before force terminating it |
348349
| autoscaling.deregisterLifecycle | string | `nil` | Define preStop command to shut down the node gracefully when scalingType is set to "deployment" |
349350
| chromeNode.enabled | bool | `true` | Enable chrome nodes |

charts/selenium-grid/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,9 @@ autoscaling:
894894
scaleTargetRef:
895895
# -- Target reference for KEDA ScaledObject
896896
kind: Deployment
897+
advanced:
898+
scalingModifiers:
899+
metricType: "Value"
897900
# -- Define terminationGracePeriodSeconds for scalingType "deployment". Period for `deregisterLifecycle` to gracefully shut down the node before force terminating it
898901
terminationGracePeriodSeconds: 3600
899902
# -- Define preStop command to shut down the node gracefully when scalingType is set to "deployment"

0 commit comments

Comments
 (0)