From 9ae2f8ba67f679be35818e6b4be328026a6b5f09 Mon Sep 17 00:00:00 2001 From: Matthew Greenwald Date: Wed, 24 Oct 2018 17:26:57 -0400 Subject: [PATCH] 7552 | Change path of health checks and add init delay (#7554) * 7552 | Change path of health checks and add init delay Signed-off-by: Matthew Greenwald * 7552 | Incrementing chart version Signed-off-by: Matthew Greenwald * 7552 | Adding configuration for readinessDelay Signed-off-by: Matthew Greenwald * 7552 | Updating chart version to master Signed-off-by: Matthew Greenwald * 7552 | Bumping chart version. Signed-off-by: Matthew Greenwald --- stable/selenium/Chart.yaml | 2 +- stable/selenium/templates/hub-deployment.yaml | 5 +++-- stable/selenium/values.yaml | 7 +++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/stable/selenium/Chart.yaml b/stable/selenium/Chart.yaml index 5c2b692fcd..adf66a521f 100644 --- a/stable/selenium/Chart.yaml +++ b/stable/selenium/Chart.yaml @@ -1,5 +1,5 @@ name: selenium -version: 0.11.0 +version: 0.11.1 appVersion: 3.14.0 description: Chart for selenium grid keywords: diff --git a/stable/selenium/templates/hub-deployment.yaml b/stable/selenium/templates/hub-deployment.yaml index 3d3329f47d..9a04210bc5 100644 --- a/stable/selenium/templates/hub-deployment.yaml +++ b/stable/selenium/templates/hub-deployment.yaml @@ -29,15 +29,16 @@ spec: name: http livenessProbe: httpGet: - path: /grid/console + path: /wd/hub/status port: {{ .Values.hub.port }} initialDelaySeconds: 30 periodSeconds: 5 timeoutSeconds: {{ .Values.hub.livenessTimeout }} readinessProbe: httpGet: - path: /grid/console + path: /wd/hub/status port: {{ .Values.hub.port }} + initialDelaySeconds: {{ .Values.hub.readinessDelay }} timeoutSeconds: {{ .Values.hub.readinessTimeout }} env: - name: JAVA_TOOL_OPTIONS diff --git a/stable/selenium/values.yaml b/stable/selenium/values.yaml index 721b8180ba..14aa07edc0 100644 --- a/stable/selenium/values.yaml +++ b/stable/selenium/values.yaml @@ -21,10 +21,13 @@ hub: ## The port which the hub listens on port: 4444 - ## Timeout for probe Hub readiness via HTTP request on Hub console + ## Timeout for probe Hub readiness via HTTP request on Hub status readinessTimeout: 1 - ## Timeout for probe Hub liveness via HTTP request on Hub console + ## Initial delay before performing the first readinessProbe + readinessDelay: 15 + + ## Timeout for probe Hub liveness via HTTP request on Hub status livenessTimeout: 1 ## Set the JAVA_TOOL_OPTIONS environment variable