jetstack / navigator

Managed Database-as-a-Service (DBaaS) on Kubernetes
Apache License 2.0
271 stars 31 forks source link

Cassandra Pilot should report the Cassandra version running on each node #262

Closed wallrj closed 6 years ago

wallrj commented 6 years ago

In order to perform Cassandra upgrades we need to know the Cassandra version that is actually running on each node.

We can't simply look at the Docker image tag, because it may not follow semver versioning.

Instead the pilot should query Cassandra directly, either using CQL or via the JMX interface.

It should then record the discovered version on the Pilot.Status or perhaps on CassandraCluster.Status.Pilots[<pilot_name>].Version

With this information, the Cassandra controller can calculate when an UpgradeCassandra action is required.

/kind feature