# Sized to work on 3 k8s workers nodes with 2 cores / 8 GB RAM # See neighboring example-cassdc-full.yaml for docs for each parameter apiVersion: cassandra.datastax.com/v1beta1 kind: CassandraDatacenter metadata: name: dc1 spec: clusterName: cluster2 serverType: dse serverVersion: "6.8.4" managementApiAuth: insecure: {} size: 3 racks: - name: rack1 - name: rack2 - name: rack3 resources: requests: memory: 4Gi cpu: 1000m storageConfig: cassandraDataVolumeClaimSpec: storageClassName: server-storage accessModes: - ReadWriteOnce resources: requests: storage: 10Gi config: cassandra-yaml: num_tokens: 8 authenticator: com.datastax.bdp.cassandra.auth.DseAuthenticator authorizer: com.datastax.bdp.cassandra.auth.DseAuthorizer role_manager: com.datastax.bdp.cassandra.auth.DseRoleManager dse-yaml: authorization_options: enabled: true authentication_options: enabled: true default_scheme: internal jvm-server-options: initial_heap_size: "2G" max_heap_size: "2G" additional-jvm-opts: - "-Ddse.system_distributed_replication_dc_names=dc1" - "-Ddse.system_distributed_replication_per_dc=3"