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

[ENH] - Provide a liveliness check for storage #44

Open
jdunhamvrtx opened this issue Oct 2, 2020 · 0 comments
Open

[ENH] - Provide a liveliness check for storage #44

jdunhamvrtx opened this issue Oct 2, 2020 · 0 comments

Comments

@jdunhamvrtx
Copy link

Is your feature request related to a problem? Please describe.
CouchDB provided an error on Read-Only storage but did not trigger the readiness check on the _up endpoint (default provided readiness check).

Describe the solution you'd like
I propose the current readiness check be moved to liveliness and readiness be similar to sh -c 'touch /opt/couchdb/data/.ready'. If it exits != 0 for storage issues the pod will reset which would trigger a storage mount refresh.

Describe alternatives you've considered
I've made this change in local system. It works.

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