summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-04-19 17:57:49 -0500
committerGitHub <noreply@github.com>2017-04-19 17:57:49 -0500
commitb0b66e5d8565ec5205e8eda2225b6e2678de3153 (patch)
tree6ee96e6f592b093ef74ffbc9899c14e53f2b6768 /roles
parentb3776499898b2780702c68a41e1721badaf8e7d4 (diff)
parent46d94126283ef96037b7d94937d38fdd522f55e8 (diff)
downloadopenshift-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
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_logging/templates/es.j27
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: