canonical / cassandra-k8s-operator

Apache License 2.0
1 stars 4 forks source link

Make Cassandra heap size configurable #34

Closed mmanciop closed 3 years ago

mmanciop commented 3 years ago

Currently the Cassandra charm will always use the default heap-size hard-coded in the Cassandra startup scripts.

This change introduces the heap_size configuration, which accepts a valid JVM memory size, and passes it to the Cassandra bootstrap over the JVM_OPTS environment variable.