diff --git a/stable/selenium/Chart.yaml b/stable/selenium/Chart.yaml index 328c4ac36d..3296a94fc0 100644 --- a/stable/selenium/Chart.yaml +++ b/stable/selenium/Chart.yaml @@ -1,5 +1,5 @@ name: selenium -version: 0.13.0 +version: 0.14.0 appVersion: 3.14.0 description: Chart for selenium grid keywords: diff --git a/stable/selenium/README.md b/stable/selenium/README.md index da2b4a5103..dc89e76eab 100644 --- a/stable/selenium/README.md +++ b/stable/selenium/README.md @@ -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` | diff --git a/stable/selenium/templates/hub-deployment.yaml b/stable/selenium/templates/hub-deployment.yaml index 99d702cde4..654d7b4f1b 100644 --- a/stable/selenium/templates/hub-deployment.yaml +++ b/stable/selenium/templates/hub-deployment.yaml @@ -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 }} diff --git a/stable/selenium/values.yaml b/stable/selenium/values.yaml index b62b7177c5..af011feede 100644 --- a/stable/selenium/values.yaml +++ b/stable/selenium/values.yaml @@ -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"