Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add liveness & readiness probe for zero downtime deployments #1148

Merged
merged 7 commits into from
Dec 6, 2024

Conversation

mitchdawson1982
Copy link
Collaborator

@mitchdawson1982 mitchdawson1982 commented Dec 6, 2024

I initially considered an approach of a dedicated /health endpoint for the probes to target, however probes consider any http status code between 200 - 399 as valid. When a http request targets the home page /, the application should attempt authentication redirection with a status of 302, hence this is valid and exposes a greater level of application functionality.

  • defines liveness probe to check for application lock ups and restarts
  • defines readiness probe to check for application availability for zero downtime deployments

@mitchdawson1982 mitchdawson1982 marked this pull request as ready for review December 6, 2024 16:46
@mitchdawson1982 mitchdawson1982 requested a review from a team as a code owner December 6, 2024 16:46
@mitchdawson1982 mitchdawson1982 changed the title Add liveness probe for zero downtime deployments Add liveness & readiness probe for zero downtime deployments Dec 6, 2024
@MatMoore
Copy link
Contributor

MatMoore commented Dec 6, 2024

Nice, thanks for sorting this 👍🏻

@mitchdawson1982 mitchdawson1982 merged commit fba5fb2 into main Dec 6, 2024
20 checks passed
@mitchdawson1982 mitchdawson1982 deleted the fmd-1128-zero-downtime-configuration branch December 6, 2024 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants