diff options
author | Yang Xu <yang.xu3@huawei.com> | 2019-05-22 12:58:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-05-22 12:58:58 +0000 |
commit | af25a4fc9999289e601b01cc7b7a43a41a41cab7 (patch) | |
tree | 630f36c2be7f6dc96e6f04e8df642c4dc9f59356 /kubernetes | |
parent | 468118469a4816adcaf45cb12fede3a3f202f970 (diff) | |
parent | e63c92104d49593e825c4775143a68912f3a6a3c (diff) |
Merge "add timeout for mariadb readiness"
Diffstat (limited to 'kubernetes')
-rw-r--r-- | kubernetes/common/mariadb-galera/templates/statefulset.yaml | 1 | ||||
-rw-r--r-- | kubernetes/common/mariadb-galera/values.yaml | 1 |
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: |