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

The liveness probe rely on the external storage #215

Open
aboucham opened this issue May 30, 2023 · 0 comments
Open

The liveness probe rely on the external storage #215

aboucham opened this issue May 30, 2023 · 0 comments

Comments

@aboucham
Copy link

  • The liveness probe rely on the external storage.

This caused the pod to be restarted when the database was under maintenance. The liveness probe returned this:

sh-4.4$ curl http://localhost:8080/health/live
{"details":"Error id d1a65d60-fe15-4267-8014-e2aa67ea96ec-4","stack":""}

and after a few failures the pod was killed.

As per best practices, the liveness probe should not fail if the db is down, only the readiness.

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

No branches or pull requests

1 participant