From 667f04fd795f4d718a9a0aeff8c2889cbd253904 Mon Sep 17 00:00:00 2001 From: xiaojian Date: Wed, 13 Sep 2023 11:29:57 +0800 Subject: [PATCH] [fix] issues-235 Kubernetes storage causing MySQL startup delay --- .../appmanagerbase/charts/mysql/values.yaml | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/chart/sreworks-chart/charts/appmanagerbase/charts/mysql/values.yaml b/chart/sreworks-chart/charts/appmanagerbase/charts/mysql/values.yaml index e7a35463..3eba144c 100644 --- a/chart/sreworks-chart/charts/appmanagerbase/charts/mysql/values.yaml +++ b/chart/sreworks-chart/charts/appmanagerbase/charts/mysql/values.yaml @@ -256,17 +256,17 @@ primary: ## livenessProbe: enabled: true - initialDelaySeconds: 120 + initialDelaySeconds: 300 periodSeconds: 10 - timeoutSeconds: 1 - failureThreshold: 3 + timeoutSeconds: 5 + failureThreshold: 5 successThreshold: 1 readinessProbe: enabled: true - initialDelaySeconds: 30 + initialDelaySeconds: 60 periodSeconds: 10 - timeoutSeconds: 1 - failureThreshold: 3 + timeoutSeconds: 5 + failureThreshold: 5 successThreshold: 1 ## MySQL primary custom liveness probe @@ -540,17 +540,17 @@ secondary: ## livenessProbe: enabled: true - initialDelaySeconds: 120 + initialDelaySeconds: 300 periodSeconds: 10 - timeoutSeconds: 1 - failureThreshold: 3 + timeoutSeconds: 5 + failureThreshold: 5 successThreshold: 1 readinessProbe: enabled: true - initialDelaySeconds: 30 + initialDelaySeconds: 60 periodSeconds: 10 - timeoutSeconds: 1 - failureThreshold: 3 + timeoutSeconds: 5 + failureThreshold: 5 successThreshold: 1 ## MySQL secondary custom liveness probe