Orange-OpenSource / casskop

This Kubernetes operator automates the Cassandra operations such as deploying a new rack aware cluster, adding/removing nodes, configuring the C* and JVM parameters, upgrading JVM and C* versions, and many more...
https://orange-opensource.github.io/casskop/
Apache License 2.0
183 stars 54 forks source link

Cassie 4.0 #246

Closed cscetbon closed 3 years ago

cscetbon commented 4 years ago

The goal of this PR is to support Cassandra 4.0. In order to do that the first step was to use datastax/cass-config-builder to generate configuration in order to be able to choose between Cassandra 3.11 and 4.0. A few PRs/issues were created datastax/cass-config-definitions#20, datastax/cass-config-definitions#23 and datastax/cass-config-definitions#22 A new docker image of Cassandra 4.0 has been created as none was available and it's been updated to 4.0-rc1 See https://github.com/docker-library/cassandra/tree/master/4.0.

The Configmap is not supposed to have any other files than pre_run.sh and post_run.sh. Also the configuration is now embedded in the CassandraCluster.Spec object and/or in the Topology at DCs/Racks levels.

Integration tests were ran with that new version, see https://github.com/cscetbon/cass-operator-casskop-compat/actions/runs/854966176