1
0
mirror of https://github.com/quay/quay.git synced 2025-04-18 10:44:06 +03:00

healthchecks: Use httpGet for liveness and readiness probe checks (PROJQUAY-8747) (#3743)

* Use httpget for liveness and readiness probe checks

* update liveness period seconds
This commit is contained in:
Sunandadadi 2025-03-26 15:59:31 -04:00 committed by GitHub
parent c7d2b67733
commit ea1d18d457
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -251,20 +251,18 @@ objects:
timeoutSeconds: ${{QUAY_APP_STARTUP_PROBE_TIMEOUT_SECONDS}}
periodSeconds: ${{QUAY_APP_STARTUP_PROBE_PERIOD_SECONDS}}
livenessProbe:
exec:
command:
- curl
- -k
- https://localhost:8443/health/instance
httpGet:
path: /health/instance
port: 8443
scheme: HTTPS
initialDelaySeconds: ${{QUAY_APP_LIVENESS_PROBE_INITIAL_DELAY_SECONDS}}
periodSeconds: ${{QUAY_APP_LIVENESS_PROBE_PERIOD_SECONDS}}
timeoutSeconds: ${{QUAY_APP_LIVENESS_PROBE_TIMEOUT_SECONDS}}
readinessProbe:
exec:
command:
- curl
- -k
- https://localhost:8443/health/endtoend
httpGet:
path: /health/endtoend
port: 8443
scheme: HTTPS
initialDelaySeconds: ${{QUAY_APP_READINESS_PROBE_INITIAL_DELAY_SECONDS}}
periodSeconds: ${{QUAY_APP_READINESS_PROBE_PERIOD_SECONDS}}
timeoutSeconds: ${{QUAY_APP_READINESS_PROBE_TIMEOUT_SECONDS}}
@ -404,7 +402,7 @@ parameters:
value: "15"
displayName: quay app liveness probe initial delay seconds
- name: QUAY_APP_LIVENESS_PROBE_PERIOD_SECONDS
value: "30"
value: "15"
displayName: quay app liveness probe period seconds
- name: QUAY_APP_LIVENESS_PROBE_TIMEOUT_SECONDS
value: "10"