소스 검색

Merge pull request #3733 from lukas-vlcek/es_readiness_probe

Merged by openshift-bot
OpenShift Bot 8 년 전
부모
커밋
b0b66e5d85
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      roles/openshift_logging/templates/es.j2

+ 7 - 0
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: