FMN: update the liveness & readiness checks for the API
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
5f90f16ec7
commit
561826cfab
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue