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

PreStop not called #2

Open
keeganmccallum opened this issue Mar 25, 2019 · 1 comment
Open

PreStop not called #2

keeganmccallum opened this issue Mar 25, 2019 · 1 comment

Comments

@keeganmccallum
Copy link

keeganmccallum commented Mar 25, 2019

Helm chart doesn't seem specify preStop script to lifecycle hook, should reference /usr/share/cassandra/scripts/postStart.sh somehow, but instead just calls nodetool drain: https://github.com/strapdata/helm-charts/blob/master/charts/elassandra/templates/statefulset.yaml#L166

May be handled somewhere else but my script doesn't seem to run on stop...

(Edit)
Not sure that postStart is called either...

@vroyer
Copy link

vroyer commented Nov 22, 2019

If JMX authentication is enabled, the preStop script failed.
PR is welcome to improve this.

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

2 participants