Note: Installing K8ssandra requires Helm. On MacOS:
brew install helm
Testing is done with dynamic volume provisioning and standard-rwo storage class, which is the recommended storage setup.
Relevant reading: Dynamic Volume Provisioning.
To test using the recommended standard-rwo storage class, execute the install-k8ssandra and the run-benchmarks scripts with the following arguments:
../shared/install-k8ssandra.sh standard-rwo us-central1-a us-central1-b us-central1-c
../shared/run-cql-benchmarks.sh
You can also test the premium-rwo storage class:
../shared/install-k8ssandra.sh premium-rwo us-central1-a us-central1-b us-central1-c
../shared/run-cql-benchmarks.sh
The test logs are accessible with the following commands:
kubectl logs job.batch/nosqlbench-throughput --follow
kubectl logs job.batch/nosqlbench-latency --follow
Run the results script:
./results.sh
Results will be downloaded from the stress node to two local folders:
./results/run-001/throughput
./results/run-001/latency