Browse Source

add probes to logsearchapi

Stavros kois 2 năm trước cách đây
mục cha
commit
7bd6b30316
1 tập tin đã thay đổi với 21 bổ sung0 xóa
  1. 21 0
      charts/minio/1.6.58/templates/logsearchapi-deployment.yaml

+ 21 - 0
charts/minio/1.6.58/templates/logsearchapi-deployment.yaml

@@ -15,4 +15,25 @@ spec: {{ include "common.deployment.common_spec" $values | nindent 2 }}
         - name: logsearchapi
           containerPort: 8080
           protocol: TCP
+        readinessProbe:
+          httpGet:
+            path: /status
+            port: 8080
+          failureThreshold: 5
+          periodSeconds: 15
+          initialDelaySeconds: 15
+        livenessProbe:
+          httpGet:
+            path: /status
+            port: 8080
+          failureThreshold: 5
+          periodSeconds: 15
+          initialDelaySeconds: 15
+        startupProbe:
+          httpGet:
+            path: /status
+            port: 8080
+          failureThreshold: 5
+          periodSeconds: 15
+          initialDelaySeconds: 15
 {{ end }}