diff options
author | yangyan <yangyanyj@chinamobile.com> | 2019-05-22 13:04:15 +0800 |
---|---|---|
committer | yangyan <yangyanyj@chinamobile.com> | 2019-05-22 13:04:22 +0800 |
commit | e63c92104d49593e825c4775143a68912f3a6a3c (patch) | |
tree | 43b5444be0da7321d1e25c101f2c005e6a2eddbb /kubernetes/common/mariadb-galera/templates | |
parent | 526f27fa78d6504301b4d1b33bd70ea7f1a0c5f7 (diff) |
add timeout for mariadb readiness
Issue-ID: VFC-1392
Change-Id: I8b4a97dbac6245c7747a31fdc557ffd8d9a974d5
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'kubernetes/common/mariadb-galera/templates')
-rw-r--r-- | kubernetes/common/mariadb-galera/templates/statefulset.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/common/mariadb-galera/templates/statefulset.yaml b/kubernetes/common/mariadb-galera/templates/statefulset.yaml index 6dc5a7aad6..b0b7174811 100644 --- a/kubernetes/common/mariadb-galera/templates/statefulset.yaml +++ b/kubernetes/common/mariadb-galera/templates/statefulset.yaml @@ -89,6 +89,7 @@ spec: - /usr/share/container-scripts/mysql/readiness-probe.sh initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} periodSeconds: {{ .Values.readiness.periodSeconds }} + timeoutSeconds: {{ .Values.readiness.timeoutSeconds }} {{- if eq .Values.liveness.enabled true }} livenessProbe: exec: |