Customisable selenium probe path (#9872)

Signed-off-by: Kierran McPherson <kierranm@gmail.com>
This commit is contained in:
Kierran McPherson
2018-12-10 15:27:04 -08:00
committed by Kubernetes Prow Robot
parent 64bdc02345
commit 7fd0a1fd6f
4 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: selenium
version: 0.13.0
version: 0.14.0
appVersion: 3.14.0
description: Chart for selenium grid
keywords:
+3
View File
@@ -74,6 +74,9 @@ The following table lists the configurable parameters of the Selenium chart and
| `hub.ingress.path` | The path for this ingress from which to route the traffic to the selenium hub | `/` |
| `hub.ingress.hosts` | The list hosts for which this ingress should resolve the selenium hub | `[selenium-hub.local]` |
| `hub.ingress.tls` | The tls secret to configure ssl for this ingress | `[]` |
| `hub.readinessTimeout` | Timeout for hub readiness probe in seconds | `1` |
| `hub.livenessTimeout` | Timeout for hub liveness probe in seconds | `1` |
| `hub.probePath` | Path for readiness and liveness probes to check | `/wd/hub/status` |
| `chrome.enabled` | Schedule a chrome node pod | `false` |
| `chrome.image` | The selenium node chrome image | `selenium/node-chrome` |
| `chrome.tag` | The selenium node chrome tag | `3.14.0` |
@@ -32,14 +32,14 @@ spec:
name: http
livenessProbe:
httpGet:
path: /wd/hub/status
path: {{ .Values.hub.probePath }}
port: {{ .Values.hub.port }}
initialDelaySeconds: 30
periodSeconds: 5
timeoutSeconds: {{ .Values.hub.livenessTimeout }}
readinessProbe:
httpGet:
path: /wd/hub/status
path: {{ .Values.hub.probePath }}
port: {{ .Values.hub.port }}
initialDelaySeconds: {{ .Values.hub.readinessDelay }}
timeoutSeconds: {{ .Values.hub.readinessTimeout }}
+5 -2
View File
@@ -25,15 +25,18 @@ hub:
## The port which the hub listens on
port: 4444
## Timeout for probe Hub readiness via HTTP request on Hub status
## Timeout for probe Hub readiness via HTTP request on hub.probePath
readinessTimeout: 1
## Initial delay before performing the first readinessProbe
readinessDelay: 15
## Timeout for probe Hub liveness via HTTP request on Hub status
## Timeout for probe Hub liveness via HTTP request on hub.probePath
livenessTimeout: 1
## Path for checking readiness and liveness via HTTP Request
probePath: "/wd/hub/status"
## Set the JAVA_TOOL_OPTIONS environment variable
## If you find your selenium hub is OOMKilled, try adding -XX:+UseSerialGC
javaOpts: "-Xmx400m"