helm-charts
helm-charts copied to clipboard
PreStop not called
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...
If JMX authentication is enabled, the preStop script failed. PR is welcome to improve this.