aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Xu <yang.xu3@huawei.com>2019-05-22 12:58:58 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-22 12:58:58 +0000
commitaf25a4fc9999289e601b01cc7b7a43a41a41cab7 (patch)
tree630f36c2be7f6dc96e6f04e8df642c4dc9f59356
parent468118469a4816adcaf45cb12fede3a3f202f970 (diff)
parente63c92104d49593e825c4775143a68912f3a6a3c (diff)
Merge "add timeout for mariadb readiness"
-rw-r--r--kubernetes/common/mariadb-galera/templates/statefulset.yaml1
-rw-r--r--kubernetes/common/mariadb-galera/values.yaml1
2 files changed, 2 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:
diff --git a/kubernetes/common/mariadb-galera/values.yaml b/kubernetes/common/mariadb-galera/values.yaml
index e4c6550f2b..d91f4fd1bb 100644
--- a/kubernetes/common/mariadb-galera/values.yaml
+++ b/kubernetes/common/mariadb-galera/values.yaml
@@ -57,6 +57,7 @@ liveness:
readiness:
initialDelaySeconds: 15
periodSeconds: 10
+ timeoutSeconds: 5
## Persist data to a persitent volume
persistence: