helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

PreStop not called

Open keeganmccallum opened this issue 5 years ago • 1 comments

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...

keeganmccallum avatar Mar 25 '19 21:03 keeganmccallum

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

vroyer avatar Nov 22 '19 08:11 vroyer