Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
chore: Externalise intialDelay & period of liveliness probe
Browse files Browse the repository at this point in the history
  • Loading branch information
kripaliz committed Oct 4, 2020
1 parent 4b32238 commit fd56fd2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
2 changes: 2 additions & 0 deletions charts/zalenium/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ See Zalenium's [usage examples](https://github.com/zalando/zalenium/blob/master/
| `hub.port` | The port the hub listens on | `4444` |
| `hub.podSecurityContext` | Pod Security Context used by hub and selenium grids | |
| `hub.containerSecurityContext` | Container Security Context used by hub and selenium grids | |
| `hub.livenessInitialDelaySeconds` | Number of seconds after the container has started before first liveness probe | 90 |
| `hub.livenessPeriodSeconds` | How often (in seconds) to perform the probe | 5 |
| `hub.livenessTimeout` | Timeout for probe Hub liveness via HTTP request on Hub console | `1` |
| `hub.readinessTimeout` | Timeout for probe Hub readiness via HTTP request on Hub console | `1` |
| `hub.localVolumesRoot` | The root directory to store HostPath volumes (e.g. if running in minikube) | `/tmp` |
Expand Down
6 changes: 3 additions & 3 deletions charts/zalenium/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ apiVersion: v1
entries:
zalenium:
- apiVersion: v2
created: "2020-06-04T21:07:52.910276+10:00"
created: "2020-10-04T13:21:18.842811+11:00"
description: Chart for selenium grid
digest: 1e97d4d2a12e8a384b725047a55de2f92dfc3faa9b16e1a86fedb33a1e6cc187
digest: 022af929856becc3fe6f9168b2942f53c767dca392041e4da77300e185570d3a
home: https://github.com/zalando/zalenium
keywords:
- qa
Expand All @@ -18,4 +18,4 @@ entries:
urls:
- zalenium-3.141.59t.tgz
version: 3.141.59
generated: "2020-06-04T21:07:52.906796+10:00"
generated: "2020-10-04T13:21:18.839733+11:00"
4 changes: 2 additions & 2 deletions charts/zalenium/templates/_pod-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ spec:
- name: Authorization
value: Basic {{ template "basicAuth.b64" . }}
{{- end}}
initialDelaySeconds: 90
periodSeconds: 5
initialDelaySeconds: {{ .Values.hub.livenessInitialDelaySeconds }}
periodSeconds: {{ .Values.hub.livenessPeriodSeconds }}
timeoutSeconds: {{ .Values.hub.livenessTimeout }}
readinessProbe:
httpGet:
Expand Down
6 changes: 6 additions & 0 deletions charts/zalenium/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ hub:
## The port which the hub listens on
port: 4444

## Number of seconds after the container has started before first liveness probe
livenessInitialDelaySeconds: 90

## How often (in seconds) to perform the probe
livenessPeriodSeconds: 5

## Timeout for probe Hub liveness via HTTP request on Hub console
livenessTimeout: 1

Expand Down
Binary file modified charts/zalenium/zalenium-3.141.59t.tgz
Binary file not shown.

0 comments on commit fd56fd2

Please sign in to comment.