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

Kubernetes probes should use /health/ready and /health/live #20

Open
loicmathieu opened this issue Sep 7, 2023 · 0 comments
Open

Kubernetes probes should use /health/ready and /health/live #20

loicmathieu opened this issue Sep 7, 2023 · 0 comments
Labels
kind/cooldown Great candidate for the cooldown period

Comments

@loicmathieu
Copy link
Member

Feature description

Both Kubernetes readiness and liveness probes use the /health endpoints.

It is a good practice on a Kubernetes environment to distinguish between the liveness probe (which define if the application if alive and restart it if not) and the readiness probe (which define if an application is ready to accept requests and put it in the endpoints list of a service).

So we may change the liveness probe tu use /health/live and the readiness probe to use /health/ready.

See https://micronaut-projects.github.io/micronaut-docs-mn2/2.1.4/guide/#healthEndpoint

@loicmathieu loicmathieu added the enhancement New feature or request label Sep 7, 2023
@anna-geller anna-geller added this to the v0.17.0 milestone Dec 5, 2023
@anna-geller anna-geller added technical-issue and removed enhancement New feature or request labels Apr 10, 2024
@anna-geller anna-geller removed this from the v0.17.0 milestone Apr 10, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Issues Jun 10, 2024
@anna-geller anna-geller added the kind/cooldown Great candidate for the cooldown period label Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cooldown Great candidate for the cooldown period
Projects
Status: Backlog
Development

No branches or pull requests

3 participants