diff options
author | OpenShift Bot <eparis+openshiftbot@redhat.com> | 2017-04-19 17:57:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-19 17:57:49 -0500 |
commit | b0b66e5d8565ec5205e8eda2225b6e2678de3153 (patch) | |
tree | 6ee96e6f592b093ef74ffbc9899c14e53f2b6768 | |
parent | b3776499898b2780702c68a41e1721badaf8e7d4 (diff) | |
parent | 46d94126283ef96037b7d94937d38fdd522f55e8 (diff) | |
download | openshift-b0b66e5d8565ec5205e8eda2225b6e2678de3153.tar.gz openshift-b0b66e5d8565ec5205e8eda2225b6e2678de3153.tar.bz2 openshift-b0b66e5d8565ec5205e8eda2225b6e2678de3153.tar.xz openshift-b0b66e5d8565ec5205e8eda2225b6e2678de3153.zip |
Merge pull request #3733 from lukas-vlcek/es_readiness_probe
Merged by openshift-bot
-rw-r--r-- | roles/openshift_logging/templates/es.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/openshift_logging/templates/es.j2 b/roles/openshift_logging/templates/es.j2 index 16185fc1d..f89855bf5 100644 --- a/roles/openshift_logging/templates/es.j2 +++ b/roles/openshift_logging/templates/es.j2 @@ -95,6 +95,13 @@ spec: readOnly: true - name: elasticsearch-storage mountPath: /elasticsearch/persistent + readinessProbe: + exec: + command: + - "/usr/share/elasticsearch/probe/readiness.sh" + initialDelaySeconds: 5 + timeoutSeconds: 4 + periodSeconds: 5 volumes: - name: elasticsearch secret: |