Closed kragniz closed 6 years ago
Some options for this:
GossipingPropertyFileSnitch
, which takes a config file named cassandra-rackdc.properties
which we could generate at startup using information from the kubernetes apiEc2Snitch
or GoogleCloudSnitch
if we're deployed to either of those clouds. These talk directly to the cloud APIs, however, which we may want to avoid.KubernetesSeedProvider
works./area cassandra
I added a poc of using GossipingPropertyFileSnitch
in #247
Currently we're using
SimpleSnitch
, which assigns all cassandra nodes torack1
indatacenter1
. Cassandra uses the rack and datacenter information to spread replicas more evenly across them for fault tolerance, so it would be beneficial to teach it about the underlying infrastructure./kind feature