Skip to main content

Topology

Topology

FieldTypeDescriptionRequiredDefault
dc[ ]DCList of DC defined in the CassandraCluster.Yes-

DC

FieldTypeDescriptionRequiredDefault
namestringName of the DCYesdc1
labelsmap[string]stringLabels used to target Kubernetes nodesNo
rack[ ]RackList of Racks defined in the Cassandra DCYes-
configmapConfiguration used by the config builder to generated cassandra.yaml and other configuration filesNo
nodesPerRacksint32Number of nodes to deploy for a Cassandra deployment in each Racks.Optional, if not filled, used value define in CassandraClusterSpec1
dataCapacitystringDefine the Capacity for Persistent Volume Claims in the local storage. Check documentation for more informationsOptional, if not filled, used value define in CassandraClusterSpec
dataStorageClassstringDefine StorageClass for Persistent Volume Claims in the local storage. Check documentation for more informationsOptional, if not filled, used value define in CassandraClusterSpec

Rack

FieldTypeDescriptionRequiredDefault
namestringName of the RackYesrack1
labelsmap[string]stringLabels used to target Kubernetes nodesNo-
configmapConfiguration used by the config builder to generated cassandra.yaml and other configuration filesNo
rollingRestartboolFlag to tell the operator to trigger a rolling restart of the RackYesfalse
rollingPartitionint32The Partition to control the Statefulset UpgradeYes0