The k8ssandra-operator project has a wide range of end to end tests, which use K8ssandraCluster manifests for a wide range of use cases, and can serve as a starting point to create your own K8ssandraCluster manifests:
- Single DC with Reaper
- Single DC with Medusa
- Single DC with Stargate and encryption enabled (requires secrets with the encryption stores: server and client)
- Multi DC
More examples can be found in the k8ssandra-operator test fixtures.
Note: The above manifests are not meant to be used as-is, but rather as a starting point to create your own K8ssandraCluster manifests. They all use
.spec.cassandra.networking.hostNetwork: true to make it possible to have cross DC communication using Kind. Host networking is not recommended for production environments, unless there are specific networking requirements.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.