summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorewolinetz <ewolinet@redhat.com>2017-06-01 16:34:54 -0500
committerewolinetz <ewolinet@redhat.com>2017-06-01 16:34:54 -0500
commit2360841f17d33e4786cf5a49a98a0a4904543e8b (patch)
tree3e43b6a2430a71b117e08bc9c6b1228866e2ddd4 /roles
parent76e4105b6e52cd1f510460d204d37f2b60a790b6 (diff)
downloadopenshift-2360841f17d33e4786cf5a49a98a0a4904543e8b.tar.gz
openshift-2360841f17d33e4786cf5a49a98a0a4904543e8b.tar.bz2
openshift-2360841f17d33e4786cf5a49a98a0a4904543e8b.tar.xz
openshift-2360841f17d33e4786cf5a49a98a0a4904543e8b.zip
Updating probe timeout and exposing variable to adjust timeout in image
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_logging_elasticsearch/templates/es.j27
1 files changed, 5 insertions, 2 deletions
diff --git a/roles/openshift_logging_elasticsearch/templates/es.j2 b/roles/openshift_logging_elasticsearch/templates/es.j2
index e129205ca..bd2289f0d 100644
--- a/roles/openshift_logging_elasticsearch/templates/es.j2
+++ b/roles/openshift_logging_elasticsearch/templates/es.j2
@@ -84,6 +84,9 @@ spec:
name: "RECOVER_AFTER_TIME"
value: "{{openshift_logging_elasticsearch_recover_after_time}}"
-
+ name: "READINESS_PROBE_TIMEOUT"
+ value: "30"
+ -
name: "IS_MASTER"
value: "{% if deploy_type in ['data-master', 'master'] %}true{% else %}false{% endif %}"
@@ -104,8 +107,8 @@ spec:
exec:
command:
- "/usr/share/elasticsearch/probe/readiness.sh"
- initialDelaySeconds: 5
- timeoutSeconds: 4
+ initialDelaySeconds: 10
+ timeoutSeconds: 30
periodSeconds: 5
volumes:
- name: elasticsearch