| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 7 个月前 | ||
| 2 个月前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 7 个月前 |
Introduction
Selenium Grid Scaler is a built-in scaler is maintained in upstream KEDA repository. The scaler implementation could be found here. The official docs of the scaler could be seen here.
Now, SeleniumHQ/docker-selenium involves as the maintainer for the scaler.
In order to deliver and get feedback continuously on any new bug fixes, improvement, or features for the Selenium Grid scaler. We select the latest stable version of KEDA core, patch the scaler implementation then build and deploy KEDA container images following our image tag convention.
The stable implementation will be merged to the upstream KEDA repository frequently and will be available in the next KEDA core release.
How to use the patched scaler
Replace the image registry and tag of these KEDA components with the patched image tag:
docker pull ghcr.io/kedacore/keda:2.20.1
docker pull ghcr.io/keda-metrics-apiserver:2.20.1
docker pull ghcr.io/keda-admission-webhooks:2.20.1
Besides that, you also can use image tag latest or nightly.
If you are deploying KEDA core using their official Helm chart, you can overwrite the image registry and tag by providing the following values in the values.yaml file. For example:
image:
keda:
registry: ghcr.io
repository: keda
tag: "2.20.1"
metricsApiServer:
registry: ghcr.io
repository: keda-metrics-apiserver
tag: "2.20.1"
webhooks:
registry: ghcr.io
repository: keda-admission-webhooks
tag: "2.20.1"
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.
If you want to disable default patched KEDA image tags in Selenium Grid chart, you can set via Helm CLI --set keda.image=null or the same in values file.
Pull requests under testing
Here is list of pull requests that are under testing and will be merged to the upstream KEDA repository. You can involve to review and discuss the pull requests to help us early detect and fix any issues.
-
https://github.com/kedacore/keda/pull/6772 (merged, v2.17.1) -
https://github.com/kedacore/keda/pull/6684 (merged, v2.17.0) -
https://github.com/kedacore/keda/pull/6570 (merged, v2.17.0) -
https://github.com/kedacore/keda/pull/6536 (merged, v2.17.0) -
https://github.com/kedacore/keda/pull/6477 (merged, v2.17.0) -
https://github.com/kedacore/keda/pull/6437 (merged, v2.16.1) -
https://github.com/kedacore/keda/pull/6368 (merged, v2.16.1) -
https://github.com/kedacore/keda/pull/6169 (merged, v2.16.0)
-
https://github.com/kedacore/keda-docs/pull/1560 (merged, v2.17.0) -
https://github.com/kedacore/keda-docs/pull/1542 (merged, v2.17.0) -
https://github.com/kedacore/keda-docs/pull/1533 (merged, v2.17.0) -
https://github.com/kedacore/keda-docs/pull/1522 (merged, v2.17.0) -
https://github.com/kedacore/keda-docs/pull/1515 (merged, v2.16.1) -
https://github.com/kedacore/keda-docs/pull/1468 (merged, v2.16.0)
Test results of the patch scaler
There are tests for the patched scaler implementation. You can run the tests by following the steps in ../tests/README.md.
Test results could be referred to
- results_test_k8s_autoscaling_job_count_strategy_default.md
- results_test_k8s_autoscaling_job_count_strategy_default_in_chaos.md
- results_test_k8s_autoscaling_job_count_strategy_default_with_node_max_sessions.md
- results_test_k8s_autoscaling_deployment_count.md
- results_test_k8s_autoscaling_deployment_count_in_chaos.md
- results_test_k8s_autoscaling_deployment_count_with_node_max_sessions.md
Resources
You can inspect the implementation of current Selenium Grid scaler: