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
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue