FMN: update the liveness & readiness checks for the API

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2022-11-21 17:59:02 +01:00
parent 5f90f16ec7
commit 561826cfab
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -129,13 +129,13 @@ spec:
timeoutSeconds: 1 timeoutSeconds: 1
initialDelaySeconds: 5 initialDelaySeconds: 5
httpGet: httpGet:
path: / path: /api/v1/heathz/ready
port: 8080 port: 8080
livenessProbe: livenessProbe:
timeoutSeconds: 1 timeoutSeconds: 1
initialDelaySeconds: 20 initialDelaySeconds: 20
httpGet: httpGet:
path: / path: /api/v1/heathz/live
port: 8080 port: 8080
volumes: volumes:
@ -182,7 +182,7 @@ spec:
recreateParams: recreateParams:
mid: mid:
execNewPod: execNewPod:
command: [ /opt/app-root/bin/fmn, database, migration, upgrade ] command: [/opt/app-root/bin/fmn, database, migration, upgrade]
containerName: consumer containerName: consumer
volumes: volumes:
- etc-fmn - etc-fmn