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

Commit

Permalink
Change probes URL to the /status page (#1024)
Browse files Browse the repository at this point in the history
When creating the console page, Zalenium servlet collects the status of all the nodes. If some of the nodes' proxy is unavailable, then the probe will fail. Using status page makes the Hub probes not relying on the state, health and availability of the node pods.
  • Loading branch information
baflQA authored and diemol committed Jul 31, 2019
1 parent 56fde3a commit c261306
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/zalenium/templates/_pod-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
protocol: TCP
livenessProbe:
httpGet:
path: {{ if .Values.ingress.path }}{{ .Values.ingress.path }}{{ end }}/grid/console
path: {{ if .Values.ingress.path }}{{ .Values.ingress.path }}{{ end }}/status
port: {{ .Values.hub.port }}
{{- if eq true .Values.hub.basicAuth.enabled }}
httpHeaders:
Expand All @@ -59,7 +59,7 @@ spec:
timeoutSeconds: {{ .Values.hub.livenessTimeout }}
readinessProbe:
httpGet:
path: {{ if .Values.ingress.path }}{{ .Values.ingress.path }}{{ end }}/grid/console
path: {{ if .Values.ingress.path }}{{ .Values.ingress.path }}{{ end }}/status
port: {{ .Values.hub.port }}
{{- if eq true .Values.hub.basicAuth.enabled }}
httpHeaders:
Expand Down Expand Up @@ -180,4 +180,4 @@ spec:
affinity:
{{ toYaml .Values.affinity | indent 4 }}
{{- end -}}
{{- end }}
{{- end }}

0 comments on commit c261306

Please sign in to comment.