Created
          June 17, 2021 14:53 
        
      - 
      
- 
        Save rsds143/f3d61d2ed9f8ad09d852937136dbe938 to your computer and use it in GitHub Desktop. 
    running advanced workloads on case-operator
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | apiVersion: cassandra.datastax.com/v1beta1 | |
| kind: CassandraDatacenter | |
| metadata: | |
| name: dc1 | |
| spec: | |
| clusterName: cluster1 | |
| serverType: dse | |
| serverVersion: "6.8.12" | |
| dseWorkloads: | |
| searchEnabled: true #key thing to add | |
| managementApiAuth: | |
| insecure: {} | |
| size: 2 | |
| storageConfig: | |
| cassandraDataVolumeClaimSpec: | |
| storageClassName: server-storage | |
| accessModes: | |
| - ReadWriteOnce | |
| resources: | |
| requests: | |
| storage: 20Gi | |
| resources: | |
| requests: | |
| memory: 6Gi | |
| cpu: 3000m | |
| limits: | |
| memory: 6Gi | |
| cpu: 3000m | |
| racks: | |
| - name: r1 | |
| config: | |
| jvm-server-options: | |
| initial_heap_size: "4000m" #you want to set heap size or you will have issues with auto detection on kubernetes | |
| max_heap_size: "4000m" | |
| cassandra-yaml: | |
| num_tokens: 8 # balances the cluster | |
| allocate_tokens_for_local_replication_factor: 2 # balances the cluster, should be 3 if RF is expected to be 3 | |
| file_cache_size_in_mb: 256 | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment