BLasan commented on a change in pull request #1584:
URL: https://github.com/apache/fineract/pull/1584#discussion_r563173785
##########
File path: kubernetes/fineract-server-deployment.yml
##########
@@ -54,6 +54,10 @@ spec:
app: fineract-server
tier: backend
spec:
+ initContainers:
+ - name: init-mydb
+ image: busybox:1.28
+ command: ['sh', '-c', 'echo -e "Checking for the availability of
MYSQL server deployment"; while ! nc -z "fineractmysql" 3306; do sleep 1;
printf "-"; done; echo -e " >> MYSQL server has started";']
Review comment:
Yeah, but sir that's why we have added liveness probe for mysql
deployment. And from fineract point of view, it only needs to check whether the
particular server and port up and running. Your point is correct and it's
fulfilled by liveness probe inside mysql container.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]