Was this page helpful?
This is a quickstart guide to help you set up a basic GKE cluster quickly with local NVMes and solid performance.
This is by no means a complete guide, and you should always consult your provider’s documentation.
First, we need to create a kubelet config to configure static CPU policy
1cat > systemconfig.yaml <<EOF
2kubeletConfig:
3 cpuManagerPolicy: static
4EOF
Then we’ll create a GKE cluster with the following:
gcloud container \
clusters create 'my-k8s-cluster' \
--zone='us-central1' \
--cluster-version="latest" \
--machine-type='n1-standard-8' \
--num-nodes='2' \
--disk-type='pd-ssd' --disk-size='20' \
--image-type='UBUNTU_CONTAINERD' \
--enable-stackdriver-kubernetes \
--no-enable-autoupgrade \
--no-enable-autorepair
and then we’ll create a dedicated pool with NVMes for ScyllaDB
gcloud container \
node-pools create 'scyllaclusters' \
--zone='us-central1' \
--cluster='my-k8s-cluster' \
--node-version="latest" \
--machine-type='n1-standard-16' \
--num-nodes='4' \
--disk-type='pd-ssd' --disk-size='20' \
--local-nvme-ssd-block='count=4' \
--image-type='UBUNTU_CONTAINERD' \
--system-config-from-file='systemconfig.yaml' \
--no-enable-autoupgrade \
--no-enable-autorepair \
--node-labels='scylla.scylladb.com/node-type=scylla' \
--node-taints='scylla-operator.scylladb.com/dedicated=scyllaclusters:NoSchedule'
To deploy Scylla Operator follow the installation guide.
To deploy a ScyllaDB cluster please head to our dedicated section on the topic.
We also have a whole section dedicated to how you can access teh ScyllaDB cluster you’ve just created.
Once you are done with your experiments you can delete your cluster using the following command:
gcloud container clusters delete --zone='us-central1' 'my-k8s-cluster'
Was this page helpful?