Fix api deployment [health/ready] (#62)

This commit is contained in:
walker-16 2023-01-18 15:31:04 -03:00 committed by GitHub
parent 303b731d60
commit fcc6e4e5e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ spec:
timeoutSeconds: 3
failureThreshold: 3
httpGet:
path: /api/ready
path: /api/v1/ready
port: {{ .PORT }}
livenessProbe:
initialDelaySeconds: 30
@ -53,7 +53,7 @@ spec:
timeoutSeconds: 3
failureThreshold: 3
httpGet:
path: /api/health
path: /api/v1/health
port: {{ .PORT }}
env:
- name: WORMSCAN_PORT

View File

@ -9,4 +9,4 @@ RESOURCES_REQUESTS_MEMORY=128Mi
RESOURCES_REQUESTS_CPU=250m
WORMSCAN_RUNMODE=DEVELOPMENT
WORMSCAN_LOGLEVEL=INFO
HOSTNAME=staging-api.wormscan.io
HOSTNAME=api.staging.wormscan.io