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

fix: Use micronaut healthcheck path for liveness and readiness probes #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MaximizeRr
Copy link
Contributor

@MaximizeRr MaximizeRr commented Nov 22, 2024

What changes are being made and why?

We recently experienced unintended Kestra pod restarts in our Kubernetes cluster. After analysis we discovered that this was due to a misconfigured liveness probe in the Helm chart. The probe was pointing to /health, which depends on external components of the pod. This caused the pod to be restarted by Kubernetes when an external component was unavailable.

To resolve this, we updated the value file to configure the liveness and readiness probes to use the correct Micronaut health paths:

  • Liveness probe now points to /health/liveness
  • Readiness probe now points to /health/readiness

This ensures that the probes accurately reflect the health of the java application itself.


This will resolve issue #20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To review
Development

Successfully merging this pull request may close these issues.

1 participant