You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Besides that, you also can use image tag `latest` or `nightly`.
@@ -27,15 +27,15 @@ If you are deploying KEDA core using their official Helm [chart](https://github.
27
27
keda:
28
28
registry: selenium
29
29
repository: keda
30
-
tag: "2.15.1-selenium-grid-20241101"
30
+
tag: "2.16.0-selenium-grid-20241127"
31
31
metricsApiServer:
32
32
registry: selenium
33
33
repository: keda-metrics-apiserver
34
-
tag: "2.15.1-selenium-grid-20241101"
34
+
tag: "2.16.0-selenium-grid-20241127"
35
35
webhooks:
36
36
registry: selenium
37
37
repository: keda-admission-webhooks
38
-
tag: "2.15.1-selenium-grid-20241101"
38
+
tag: "2.16.0-selenium-grid-20241127"
39
39
```
40
40
41
41
If you are deployment Selenium Grid chart with `autoscaling.enabled` is `true` (implies installing KEDA sub-chart), KEDA images registry and tag already set in the `values.yaml`. Refer to list [configuration](../charts/selenium-grid/CONFIGURATION.md).
Copy file name to clipboardExpand all lines: .keda/scalers/selenium-grid-scaler.md
+24-19Lines changed: 24 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,20 +29,25 @@ triggers:
29
29
30
30
**Parameter list:**
31
31
32
-
- `url` - Graphql url of your Selenium Grid (Required). Refer to the Selenium Grid's documentation [here](https://www.selenium.dev/documentation/en/grid/grid_4/graphql_support/) to for more info. If endpoint requires authentication, you can use `TriggerAuthentication` to provide the credentials instead of embedding in the URL.
33
-
- `browserName`- Name of browser that usually gets passed in the browser capability (Required). Refer to the [Selenium Grid's](https://www.selenium.dev/documentation/en/getting_started_with_webdriver/browsers/) and [WebdriverIO's](https://webdriver.io/docs/options/#capabilities) documentation for more info.
32
+
- `url` - Graphql url of your Selenium Grid. Refer to the Selenium Grid's documentation [here](https://www.selenium.dev/documentation/en/grid/grid_4/graphql_support/) to for more info. If endpoint requires authentication, you can use `TriggerAuthentication` to provide the credentials instead of embedding in the URL.
33
+
- `browserName`- Name of browser that usually gets passed in the browser capability. Refer to the [Selenium Grid's](https://www.selenium.dev/documentation/en/getting_started_with_webdriver/browsers/) and [WebdriverIO's](https://webdriver.io/docs/options/#capabilities) documentation for more info.
34
34
- `sessionBrowserName`- Name of the browser when it is an active session, only set if `BrowserName` changes between the queue and the active session. See the Edge example below for further detail. (Optional)
35
35
- `browserVersion`- Version of browser that usually gets passed in the browser capability. Refer to the [Selenium Grid's](https://www.selenium.dev/documentation/en/getting_started_with_webdriver/browsers/) and [WebdriverIO's](https://webdriver.io/docs/options/#capabilities) documentation for more info. (Optional)
36
36
- `unsafeSsl` - Skip certificate validation when connecting over HTTPS. (Values: `true`, `false`, Default: `false`, Optional)
37
37
- `activationThreshold`- Target value for activating the scaler. Learn more about activation [here](./../concepts/scaling-deployments.md#activating-and-scaling-thresholds). (Default: `0`, Optional)
38
38
- `platformName`- Name of the browser platform. Refer to the [Selenium Grid's](https://www.selenium.dev/documentation/en/getting_started_with_webdriver/browsers/) and [WebdriverIO's](https://webdriver.io/docs/options/#capabilities) documentation for more info. (Default: `Linux`, Optional)
39
-
- `nodeMaxSessions` - Number of maximum sessions that can run in parallel on a Node. (Default: `1`, Optional). Update this parameter align with node config `--max-sessions` (`SE_NODE_MAX_SESSIONS`) to have the correct scaling behavior.
39
+
- `nodeMaxSessions` - Number of maximum sessions that can run in parallel on a Node. Update this parameter align with node config `--max-sessions` (`SE_NODE_MAX_SESSIONS`) to have the correct scaling behavior. (Default: `1`, Optional).
40
+
- `targetQueueLength` - The target number of queued sessions to scale on. (Default: `1`, Optional).
40
41
41
42
**Trigger Authentication**
42
43
- `username`- Username for basic authentication in GraphQL endpoint instead of embedding in the URL. (Optional)
43
44
- `password`- Password for basic authentication in GraphQL endpoint instead of embedding in the URL. (Optional)
44
-
- `authType`- Type of authentication to be used. (Optional). This can be set to `Bearer` or `OAuth2` in case Selenium Grid behind an Ingress proxy with other authentication types.
45
-
- `accessToken`- Access token (Optional). This is required when `authType` is set a value.
45
+
- `authType`- Type of authentication to be used. This can be set to `Bearer` or `OAuth2` in case Selenium Grid behind an Ingress proxy with other authentication types. (Optional)
46
+
- `accessToken`- Access token. This is required when `authType` is set a value. (Optional)
47
+
48
+
### How does it work?
49
+
50
+
The scaler will query the Hub GraphQL response to get the number of queued sessions in the specified combination of browser name, version, and platform. If the number of queued sessions is **equal to or greater than** the `targetQueueLength`, the scaler will scale up.
0 commit comments