From b9b05664ef3e87c0443b2eff85e22a1eddde6894 Mon Sep 17 00:00:00 2001 From: XPA Date: Thu, 8 Feb 2024 14:26:23 +0900 Subject: [PATCH 1/3] chore: extend initial delay to 3600s --- kubernetes/mattermost/mattermost.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/mattermost/mattermost.yml b/kubernetes/mattermost/mattermost.yml index 13fc450..0bea60f 100644 --- a/kubernetes/mattermost/mattermost.yml +++ b/kubernetes/mattermost/mattermost.yml @@ -58,7 +58,7 @@ spec: path: /api/v4/system/ping port: http livenessProbe: - initialDelaySeconds: 600 + initialDelaySeconds: 3600 timeoutSeconds: 5 periodSeconds: 15 failureThreshold: 4 From d532c4f718858403a55d2ee312a533a9777ce441 Mon Sep 17 00:00:00 2001 From: XPA Date: Thu, 8 Feb 2024 15:42:41 +0900 Subject: [PATCH 2/3] Revert "chore: extend initial delay to 3600s" This reverts commit b9b05664ef3e87c0443b2eff85e22a1eddde6894. --- kubernetes/mattermost/mattermost.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/mattermost/mattermost.yml b/kubernetes/mattermost/mattermost.yml index 0bea60f..13fc450 100644 --- a/kubernetes/mattermost/mattermost.yml +++ b/kubernetes/mattermost/mattermost.yml @@ -58,7 +58,7 @@ spec: path: /api/v4/system/ping port: http livenessProbe: - initialDelaySeconds: 3600 + initialDelaySeconds: 600 timeoutSeconds: 5 periodSeconds: 15 failureThreshold: 4 From f109c7e52a0832a83e0c3236c86000119dec1cef Mon Sep 17 00:00:00 2001 From: XPA Date: Thu, 8 Feb 2024 15:44:02 +0900 Subject: [PATCH 3/3] chore: add startup probe to mattermost pod --- kubernetes/mattermost/mattermost.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kubernetes/mattermost/mattermost.yml b/kubernetes/mattermost/mattermost.yml index 13fc450..dbd6a7a 100644 --- a/kubernetes/mattermost/mattermost.yml +++ b/kubernetes/mattermost/mattermost.yml @@ -65,6 +65,12 @@ spec: httpGet: path: /api/v4/system/ping port: http + startupProbe: + httpGet: + path: /api/v4/system/ping + port: http + failureThreshold: 360 + periodSeconds: 10 volumeMounts: - name: config mountPath: /mattermost/config/