summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mariadb-galera/values.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-09-21 06:09:50 +0000
committerGerrit Code Review <gerrit@onap.org>2021-09-21 06:09:50 +0000
commit992d8b15fd4b66995c78758111e39d5da765a21b (patch)
tree2b54d57033b41c95f5d162b3dff15a0db1cc4b56 /kubernetes/common/mariadb-galera/values.yaml
parentae6d4a6ed1372719f89f555141734e79cd183dc1 (diff)
parentcf3133d88263a00e6fef18741575fd2561f70085 (diff)
Merge "[COMMON] Fix db-metrics readiness timeout issue"
Diffstat (limited to 'kubernetes/common/mariadb-galera/values.yaml')
-rw-r--r--kubernetes/common/mariadb-galera/values.yaml20
1 files changed, 19 insertions, 1 deletions
diff --git a/kubernetes/common/mariadb-galera/values.yaml b/kubernetes/common/mariadb-galera/values.yaml
index ed9977acd9..bc9273f41f 100644
--- a/kubernetes/common/mariadb-galera/values.yaml
+++ b/kubernetes/common/mariadb-galera/values.yaml
@@ -1,4 +1,5 @@
-# Copyright © 2018 Amdocs, Bell Canada
+# Copyright © 2018 Amdocs
+# Copyright © 2018,2021 Bell Canada
# Copyright © 2019 Samsung Electronics
# Copyright © 2020 Bitnami, Orange
#
@@ -560,6 +561,23 @@ metrics:
requests:
cpu: 0.5
memory: 256Mi
+ ## MariaDB Galera metrics container's liveness and readiness probes
+ ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
+ ##
+ livenessProbe:
+ enabled: true
+ initialDelaySeconds: 30
+ periodSeconds: 10
+ timeoutSeconds: 5
+ successThreshold: 1
+ failureThreshold: 3
+ readinessProbe:
+ enabled: true
+ initialDelaySeconds: 5
+ periodSeconds: 10
+ timeoutSeconds: 5
+ successThreshold: 1
+ failureThreshold: 3
## MySQL Prometheus exporter service parameters
##
service: