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
K8SSAND-1853 ⁃ Support additional jvm options for the various option files #737
Comments
Currently in k8ssandra-operator, JVM options are exposed as a high-level, schemaful struct. The operator assigns each user-provided value to the appropriate cass-config-builder key, so the whole complexity around having multiple JVM options files is hidden from the user. What you are asking would require to go schemaless for JVM options, pretty much what we did for cassandra.yaml and dse.yaml recently. |
I'd say it's a little different since we're trying to assign a list of strings to separate options files, whereas the cassandra and dse yaml files are structured as a map[string]interface{} type, all going to the same file. Based on our offline conversation, what do you think of the following structure?
|
Yes, after our conversation, I agree that your suggestion is a good compromise. 👍 |
Cassandra uses multiple jvm options files (
jvm.options
,jvm-server.options
,jvm8-server.options
,jvm11-server.options
,cassandra-env.sh
), and we're currently allowing to pass unstructured options tocassandra-env.sh
only.We'd need to have new
[]string
additional jvm options fields for each file in theCassandraConfig.JvmOptions
struct:would map in the cassdc to:
Additional options for the
cassandra-env.sh
would still be handled by theJvmOptions.AdditionalOptions
field as they currently are.┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1853
┆priority: Medium
The text was updated successfully, but these errors were encountered: