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

In /liveness, verify that Cassandra is still running #548

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

burmanm
Copy link
Contributor

@burmanm burmanm commented Oct 10, 2024

If the state is STARTED, the liveness requires the PID file to exists and the PID that's in there to be running.

Modify Cassandra start parameters to create the pidfile to /tmp/cassandra.pid

Fix Dockerfile validation issues from lower case "as".

Losing liveness makes Kubernetes kill the container and we start getting Terminated statuses (to properly track if Cassandra didn't for example like configuration).

…ed) by checking the PID file exists and the PID is still running
Copy link

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

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.

1 participant