SeleniumHQ / docker-selenium

Provides a simple way to run Selenium Grid with Chrome, Firefox, and Edge using Docker, making it easier to perform browser automation
http://www.selenium.dev/docker-selenium/
Other
7.99k stars 2.51k forks source link

[🚀 Feature]: Use selenium hub with postgresql as external data store, and configured in helm #2472

Open husseinmimiHarri opened 5 hours ago

husseinmimiHarri commented 5 hours ago

Feature and motivation

Selenium grid helm chart helps us to deploy selenium grid into our K8S cluster, but by default data is not persistent, so for any reason pod that running hub rebooted or deleted, all existing sessions in queue will be lost, also session-node map will be lost.

so from existing helm chart i can't deploy high available selenium hub with 2 pods, also i can't use external data store advanced feature out of the box.

So i suggest to support external data store in helm, by only add db settings in values.yml.

Usage example

hub:
  backend_engine: postgres
  postgres:
    username: seluser
    password: seluser
    host: 10.10.2.4
    port: 5432
    ssl_cert:
github-actions[bot] commented 5 hours ago

@husseinmimiHarri, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!