-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add modified storage class and 4.0 deployment yml
- Loading branch information
csplinter
committed
Jun 11, 2020
1 parent
a7d43ee
commit 40532d8
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Sized to work on 3 k8s workers nodes with 1 core / 4 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: cluster1 | ||
serverType: cassandra | ||
serverVersion: "4.0.0" | ||
managementApiAuth: | ||
insecure: {} | ||
size: 1 | ||
storageConfig: | ||
cassandraDataVolumeClaimSpec: | ||
storageClassName: server-storage | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 5Gi | ||
config: | ||
cassandra-yaml: | ||
authenticator: org.apache.cassandra.auth.PasswordAuthenticator | ||
authorizer: org.apache.cassandra.auth.CassandraAuthorizer | ||
role_manager: org.apache.cassandra.auth.CassandraRoleManager | ||
jvm-options: | ||
initial_heap_size: "800M" | ||
max_heap_size: "800M" | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: storage.k8s.io/v1 | ||
kind: StorageClass | ||
metadata: | ||
annotations: | ||
storageclass.kubernetes.io/is-default-class: "true" | ||
labels: | ||
addonmanager.kubernetes.io/mode: EnsureExists | ||
name: server-storage | ||
provisioner: k8s.io/minikube-hostpath | ||
reclaimPolicy: Delete | ||
volumeBindingMode: Immediate |