mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-01 05:51:56 +08:00
FMN: update the liveness & readiness checks for the API
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user