Add readiness & liveness probes to fineract-server deployment (FINERACT-1296)
This commit is contained in:
committed by
Yemdjih Kaze Nasser
parent
83ec9bf5ca
commit
a52a3cc738
@@ -20,6 +20,11 @@
|
|||||||
spring.profiles.default=basicauth
|
spring.profiles.default=basicauth
|
||||||
management.health.jms.enabled=false
|
management.health.jms.enabled=false
|
||||||
|
|
||||||
|
# FINERACT 1296
|
||||||
|
management.endpoint.health.probes.enabled=true
|
||||||
|
management.health.livenessState.enabled=true
|
||||||
|
management.health.readinessState.enabled=true
|
||||||
|
|
||||||
# FINERACT-883
|
# FINERACT-883
|
||||||
management.info.git.mode=FULL
|
management.info.git.mode=FULL
|
||||||
|
|
||||||
|
|||||||
@@ -61,6 +61,18 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: fineract-server
|
- name: fineract-server
|
||||||
image: apache/fineract:latest
|
image: apache/fineract:latest
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /fineract-provider/actuator/health/liveness
|
||||||
|
port: 8443
|
||||||
|
initialDelaySeconds: 90
|
||||||
|
periodSeconds: 1
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /fineract-provider/actuator/health/readiness
|
||||||
|
port: 8443
|
||||||
|
initialDelaySeconds: 90
|
||||||
|
periodSeconds: 1
|
||||||
env:
|
env:
|
||||||
- name: DRIVERCLASS_NAME
|
- name: DRIVERCLASS_NAME
|
||||||
value: org.drizzle.jdbc.DrizzleDriver
|
value: org.drizzle.jdbc.DrizzleDriver
|
||||||
|
|||||||
Reference in New Issue
Block a user