From 48fa00f2d7f0bd1decd88f7f1b65090d27d7bb97 Mon Sep 17 00:00:00 2001 From: Chris Wedgwood Date: Thu, 12 Oct 2017 17:02:50 +0000 Subject: [PATCH] mariadb: reasonable timing for readinessProbe Give mariadb time to start up and probe only as much as needed. This avoids premature health warnings. Change-Id: I5427cb26dc6a788123bdfac925e6d94321aabb1f --- mariadb/templates/statefulset.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mariadb/templates/statefulset.yaml b/mariadb/templates/statefulset.yaml index ecc69ce58c..baff6c1f37 100644 --- a/mariadb/templates/statefulset.yaml +++ b/mariadb/templates/statefulset.yaml @@ -64,6 +64,9 @@ spec: name: mariadb-db-root-password key: MYSQL_ROOT_PASSWORD readinessProbe: + initialDelaySeconds: 60 + periodSeconds: 30 + timeoutSeconds: 3 exec: command: - /tmp/readiness.sh