Skip to content

Commit

Permalink
[stable/selenium] Make hub readiness probe timeout configurable (helm…
Browse files Browse the repository at this point in the history
…#1391)

* Make hub readiness probe timeout configurable

* Update Chart.yaml
  • Loading branch information
ttretau authored and Vic Iglesias committed Jul 6, 2017
1 parent 52c60ec commit ad23f2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions stable/selenium/templates/hub-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ spec:
httpGet:
path: /grid/console
port: {{ .Values.hub.port }}
timeoutSeconds: {{ .Values.hub.readinessTimeout }}
env:
- name: JAVA_OPTS
value: {{ default "" .Values.hub.javaOpts | quote }}
Expand Down
3 changes: 3 additions & 0 deletions stable/selenium/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ hub:
## The port which the hub listens on
port: 4444

## Timeout for probe Hub readiness via HTTP request on Hub console
readinessTimeout: 1

## Set the JAVA_OPTS environment variable
## If you find your selenium hub is OOMKilled, try adding -XX:+UseSerialGC
javaOpts: "-Xmx400m"
Expand Down

0 comments on commit ad23f2e

Please sign in to comment.