Add ReadinessProbe for mysql container (FINERACT-1292)
This commit is contained in:
committed by
Yemdjih Kaze Nasser
parent
06c022f072
commit
4ee1cf7210
@@ -99,6 +99,15 @@ spec:
|
|||||||
command: ["sh","-c","mysqladmin ping -h localhost -uroot -p${MYSQL_ROOT_PASSWORD}"]
|
command: ["sh","-c","mysqladmin ping -h localhost -uroot -p${MYSQL_ROOT_PASSWORD}"]
|
||||||
failureThreshold: 10
|
failureThreshold: 10
|
||||||
timeoutSeconds: 10
|
timeoutSeconds: 10
|
||||||
|
readinessProbe:
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
- sh
|
||||||
|
- -c
|
||||||
|
- mysqladmin ping -uroot -p${MYSQL_PASSWORD}
|
||||||
|
failureThreshold: 10
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
periodSeconds: 5
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 3306
|
- containerPort: 3306
|
||||||
name: fineractmysql
|
name: fineractmysql
|
||||||
|
|||||||
Reference in New Issue
Block a user