Skip to content

Instantly share code, notes, and snippets.

@jsanda
Created August 12, 2021 22:01
Show Gist options
  • Save jsanda/9a254139cc56568886f6b1e5d2595fbb to your computer and use it in GitHub Desktop.
Save jsanda/9a254139cc56568886f6b1e5d2595fbb to your computer and use it in GitHub Desktop.
apiVersion: k8ssandra.io/v1alpha1
kind: K8ssandraCluster
metadata:
name: test
spec:
cassandra:
cluster: test
datacenters:
- metadata:
name: dc1
k8sContext: jsanda-1
size: 3
serverVersion: "3.11.10"
storageConfig:
cassandraDataVolumeClaimSpec:
storageClassName: standard
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
config:
jvm-options:
initial_heap_size: "1024m"
max_heap_size: "1024m"
resources:
limits:
memory: 2048Mi
stargate:
size: 1
heapSize: 512Mi
resources:
limits:
memory: 1024Mi
- metadata:
name: dc2
k8sContext: jsanda-2
size: 3
serverVersion: "3.11.10"
storageConfig:
cassandraDataVolumeClaimSpec:
storageClassName: standard
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
config:
jvm-options:
initial_heap_size: "1024m"
max_heap_size: "1024m"
resources:
limits:
memory: 2048Mi
stargate:
size: 1
heapSize: 512Mi
resources:
limits:
memory: 1024Mi
- metadata:
name: dc3
k8sContext: jsanda-3
size: 3
serverVersion: "3.11.10"
storageConfig:
cassandraDataVolumeClaimSpec:
storageClassName: standard
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
config:
jvm-options:
initial_heap_size: "1024m"
max_heap_size: "1024m"
resources:
limits:
memory: 2048Mi
stargate:
size: 1
heapSize: 512Mi
resources:
limits:
memory: 512Mi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment