From 7bd6b303166cbba11b72a585c69ae3c404812364 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Wed, 2 Nov 2022 20:06:14 +0200 Subject: [PATCH] add probes to logsearchapi --- .../templates/logsearchapi-deployment.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/charts/minio/1.6.58/templates/logsearchapi-deployment.yaml b/charts/minio/1.6.58/templates/logsearchapi-deployment.yaml index b7a4854fc4..6a8d6f49bc 100644 --- a/charts/minio/1.6.58/templates/logsearchapi-deployment.yaml +++ b/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 }}