[stable/selenium] Fix selenium configuration (#21839)

* Fix selenium hub typo in environment variable GRID_CLEAN_UP_CYCLE

Signed-off-by: Stefan Staude <stefan.staude@staffbase.com>

* Extend value.yaml documentation and fix timeout units

Signed-off-by: Stefan Staude <stefan.staude@staffbase.com>

* Update selenium chart version to 1.0.11

Signed-off-by: Stefan Staude <stefan.staude@staffbase.com>
This commit is contained in:
Stefan Staude
2020-04-08 13:43:45 -07:00
committed by GitHub
parent 609560713f
commit cef9005d35
4 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: selenium
version: 1.0.10
version: 1.0.11
appVersion: 3.141.59
description: Chart for selenium grid
keywords:
+3 -3
View File
@@ -65,9 +65,9 @@ The following table lists the configurable parameters of the Selenium chart and
| `hub.gridNewSessionWaitTimeout` | | `nil` |
| `hub.gridJettyMaxThreads` | | `nil` |
| `hub.gridNodePolling` | | `nil` |
| `hub.gridCleanUpCycle` | | `nil` |
| `hub.gridTimeout` | | `nil` |
| `hub.gridBrowserTimeout` | | `nil` |
| `hub.gridCleanUpCycle` | Specifies how often the hub will poll running proxies for timed-out (i.e. hung) threads **(in ms)**. Must also specify "timeout" option | `nil` |
| `hub.gridTimeout` | Specifies the timeout before the server automatically kills a session that hasn't had any activity in the last X seconds.| `nil` |
| `hub.gridBrowserTimeout` | Number of seconds a browser session is allowed to hang while a WebDriver command is running | `nil` |
| `hub.gridMaxSession` | | `nil` |
| `hub.gridUnregisterIfStillDownAfter` | | `nil` |
| `hub.seOpts` | Command line arguments to pass to hub | `nil` |
@@ -65,7 +65,7 @@ spec:
value: {{ .Values.hub.gridNodePolling | quote }}
{{- end }}
{{- if .Values.hub.gridCleanUpCycle }}
- name: GRID_CLEANUP_CYCLE
- name: GRID_CLEAN_UP_CYCLE
value: {{ .Values.hub.gridCleanUpCycle | quote }}
{{- end }}
{{- if .Values.hub.gridTimeout }}
+5 -4
View File
@@ -109,16 +109,17 @@ hub:
# # internal AWS ELB
# service.beta.kubernetes.io/aws-load-balancer-internal: "0.0.0.0/0"
## ref: https://seleniumhq.github.io/docs/grid.html#step_1_start_the_hub
## ref: https://github.com/SeleniumHQ/selenium/wiki/Grid2#configuring-the-nodes
## In milliseconds
# gridNewSessionWaitTimeout: -1
# gridJettyMaxThreads: -1
## In milliseconds
# gridNodePolling: 5000
## In milliseconds
# gridCleanUpCycle: 5000
## In milliseconds
# gridTimeout: 30000
## In milliseconds
## In seconds
# gridTimeout: 30
## In seconds
# gridBrowserTimeout: 0
# gridMaxSession: 5
## In milliseconds