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