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

Commit

Permalink
Fix get hostname dns load (#1048)
Browse files Browse the repository at this point in the history
* Release 3.141.59t

* Add empty default value for podSecurityContext and containerSecurityContext (#1016)

Co-Authored-By: Pirmin Schuermann <pirmin.schuermann@gmail.com>

* Issue-1019 Update helm chart zip files to release version 3.141.59t (#1020)

* fixed index file (#1025)

* Change probes URL to the /status page (#1024)

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.

* Fix condition to get container by remote url

* Add symlink for /usr/bin/docker in Dockerfile

* Rewrite condition to exec ./zalenium.sh in entry.sh considering none sudo

* Update docker swarm documentation

* allow the modification of the hosts file inside a container

* Add documentation for hostAliases

* Fix get pod ip dns load error
  • Loading branch information
jlamaille authored and diemol committed Sep 15, 2019
1 parent 956d86b commit 12fa8d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ public static DoneablePod createDoneablePodDefaultImpl(PodConfiguration config)
// so then we can initiate a registration.
.withNewReadinessProbe()
.withNewExec()
.addToCommand(new String[] {"/bin/sh", "-c", "http_proxy=\"\" curl -s http://`getent hosts ${HOSTNAME} | awk '{ print $1 }'`:"
.addToCommand(new String[] {"/bin/sh", "-c", "http_proxy=\"\" curl -s http://`hostname -i`:"
+ config.getNodePort() + "/wd/hub/status | jq .value.ready | grep true"})
.endExec()
.withInitialDelaySeconds(5)
Expand Down

0 comments on commit 12fa8d2

Please sign in to comment.