From 93122ac5947cc853ca5a13ffa326c9311e74d191 Mon Sep 17 00:00:00 2001 From: Jan Stubenrauch Date: Fri, 23 Aug 2024 18:05:07 +0200 Subject: [PATCH] giving the kb-api more time to come up --- charts/knowledge-base/Chart.yaml | 2 +- charts/knowledge-base/templates/deployment_api.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/knowledge-base/Chart.yaml b/charts/knowledge-base/Chart.yaml index 5731374..778de99 100644 --- a/charts/knowledge-base/Chart.yaml +++ b/charts/knowledge-base/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: knowledge-base description: Knowledge Base frontend and API/backend type: application -version: 0.1.2 +version: 0.1.3 appVersion: "0.0.1" diff --git a/charts/knowledge-base/templates/deployment_api.yaml b/charts/knowledge-base/templates/deployment_api.yaml index 63313de..5dd05a4 100644 --- a/charts/knowledge-base/templates/deployment_api.yaml +++ b/charts/knowledge-base/templates/deployment_api.yaml @@ -53,10 +53,15 @@ spec: httpGet: path: /knowledgebase/list?pageIndex=0&pageSize=1 port: http + initialDelaySeconds: 5 + failureThreshold: 6 + periodSeconds: 20 readinessProbe: httpGet: path: /knowledgebase/list?pageIndex=0&pageSize=1 port: http + initialDelaySeconds: 30 + periodSeconds: 30 resources: {{- toYaml .Values.api.container.resources | nindent 12 }} volumes: