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...
We currently don't checks if all existings objects may have changed before updating thems.
We are doing it for statefulset and also prevent some changes on statefulsets for many reasons (ongiing disruptions, onging scaledown...).
The way we check is statefulset needs to be updated, may be error prone, and guys from Banzaicloud release a tool to help with that.
This issue is to see if their library could be useful for out statefulset upgrade mechanism, and also we may see if it can apply to other managed objects (services..)
We currently don't checks if all existings objects may have changed before updating thems.
We are doing it for statefulset and also prevent some changes on statefulsets for many reasons (ongiing disruptions, onging scaledown...).
The way we check is statefulset needs to be updated, may be error prone, and guys from Banzaicloud release a tool to help with that.
This issue is to see if their library could be useful for out statefulset upgrade mechanism, and also we may see if it can apply to other managed objects (services..)
there is the library : https://github.com/banzaicloud/k8s-objectmatcher