diff options
author | ewolinetz <ewolinet@redhat.com> | 2017-06-01 16:34:54 -0500 |
---|---|---|
committer | ewolinetz <ewolinet@redhat.com> | 2017-06-01 16:34:54 -0500 |
commit | 2360841f17d33e4786cf5a49a98a0a4904543e8b (patch) | |
tree | 3e43b6a2430a71b117e08bc9c6b1228866e2ddd4 /roles | |
parent | 76e4105b6e52cd1f510460d204d37f2b60a790b6 (diff) | |
download | openshift-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.j2 | 7 |
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 |