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
@@ -109,6 +111,8 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
109
111
| ingress.tls | list |`[]`| TLS backend configuration for ingress resource |
110
112
| busConfigMap.nameOverride | string |`nil`| Override the name of the bus configMap |
111
113
| busConfigMap.annotations | object |`{}`| Custom annotations for configmap |
114
+
| sessionMapConfigMap.nameOverride | string |`nil`| Override the name of the session map configMap |
115
+
| sessionMapConfigMap.annotations | object |`{}`| Custom annotations for configmap |
112
116
| distributorConfigMap.nameOverride | string |`nil`| Override the name of the distributor configMap |
113
117
| distributorConfigMap.defaultMode | int |`493`| Default mode for ConfigMap is mounted as file |
114
118
| distributorConfigMap.extraScriptsImportFrom | string |`"configs/distributor/**"`| Directory where the extra scripts are imported to ConfigMap by default (if given a relative path, it should be in chart's directory) |
@@ -244,6 +248,10 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
244
248
| components.sessionMap.tolerations | list |`[]`| Tolerations for Session Map pods |
| components.sessionMap.externalDatastore.backend | string |`"postgresql"`| Backend for external datastore (supported: postgresql, redis). Details for each backend are described below config key |
| postgresql.enabled | bool |`false`| Enable to install PostgreSQL along with Grid |
602
+
| postgresql.auth | object |`{"database":"selenium_sessions","password":"seluser","username":"seluser"}`| Authentication should be aligned with config in session map |
603
+
| postgresql.primary.initdb.scripts | object |`{"init.sql":"CREATE TABLE IF NOT EXISTS sessions_map(\n session_ids varchar(256),\n session_caps text,\n session_uri varchar(256),\n session_stereotype text,\n session_start varchar(256)\n);\n"}`| Initdb scripts for PostgreSQL to create sessions_map table |
604
+
| redis.enabled | bool |`false`| Enable to install Redis along with Grid |
Copy file name to clipboardExpand all lines: charts/selenium-grid/README.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ This chart enables the creation of a Selenium Grid Server in Kubernetes.
40
40
*[TLS termination in the ingress controller, HTTP/2, and related troubleshooting](#tls-termination-in-the-ingress-controller-http2-and-related-troubleshooting)
41
41
*[Node Registration](#node-registration)
42
42
*[Configuration of tracing observability](#configuration-of-tracing-observability)
43
+
*[Configuration of Session Map using External Datastore](#configuration-of-session-map-using-external-datastore)
43
44
*[Configuration of Selenium Grid chart](#configuration-of-selenium-grid-chart)
44
45
*[Configuration of KEDA](#configuration-of-keda)
45
46
*[Configuration of Ingress NGINX Controller](#configuration-of-ingress-nginx-controller)
@@ -873,6 +874,38 @@ tracing:
873
874
By default, the exporter is set to `otlp`. It is wide compatibility with many tracing backends.
874
875
Read more: [vendors](https://opentelemetry.io/ecosystem/vendors/) native support OpenTelemetry and guidelines on [integration](https://opentelemetry.io/ecosystem/integrations/)
875
876
877
+
### Configuration of Session Map using External Datastore
878
+
879
+
Feature [documentation](https://www.selenium.dev/documentation/grid/advanced_features/external_datastore/). It requires the Grid deployed in distributed mode. The feature is disabled by default.
880
+
881
+
To enable it with Database backed Session Map, also install PostgreSQL service in the same namespace as Selenium Grid. You can set the following values:
882
+
883
+
```yaml
884
+
isolateComponents: true
885
+
components:
886
+
sessionMap:
887
+
externalDatastore:
888
+
enabled: true
889
+
backend: postgresql
890
+
891
+
postgresql:
892
+
enabled: true
893
+
```
894
+
895
+
To enable it with Redis backed Session Map, also install Redis service in the same namespace as Selenium Grid. You can set the following values:
896
+
897
+
```yaml
898
+
isolateComponents: true
899
+
components:
900
+
sessionMap:
901
+
externalDatastore:
902
+
enabled: true
903
+
backend: redis
904
+
905
+
redis:
906
+
enabled: true
907
+
```
908
+
876
909
### Configuration of Selenium Grid chart
877
910
878
911
Check out list [configuration](https://github.com/SeleniumHQ/docker-selenium/blob/trunk/charts/selenium-grid/CONFIGURATION.md) parameter of chart and their default values for more details.
0 commit comments