A live demo using the GKE with two availability zones, and 6 nodes dedicated to ScyllaDB. One more node will be dedicated to utilities and one more node will be running Cassandra-stress and creating other traffic. The demo shows how to install the cert-manager and install the ScyllaDB operator.
Today everything will be shown as a live demo and this is our setup that I prepared.
so we are going to use the GKE cluster consisting of two availability zones
we are going to use us-west-1b and us-west-1c, we are going to have 6 nodes dedicated just for ScyllaDB
and in order to guarantee that these nodes are dedicated for ScyllaDB, we are setting up a
taint on the nodes, so basically it will prevent other pods than ScyllaDB from being
scheduled on the nodes, and we are going to use the same machine type for the ScyllaDB nodes
the other nodes we are going to have are going to be used for utilities, so
basically we will use this node for having ScyllaDB Operator, ScyllaDB Manager, Prometheus
Grafana, ScyllaDB monitoring, all the utilities we are going to need and a single node will
be dedicated just for application traffic, so we are going to use Cassandra Stress for CQL
traffic and we are going to play a game using DynamoDB
okay, so I will show you now how to deploy the ScyllaDB Operator on Kubernetes cluster
but first because the ScyllaDB Operator has one dependency, which is called
cert-manager and we need to install it first, so this cert-manager is basically needed because
the CRD validation is based on the web hook which requires a TLS certificate
so we are using cert-manager in order to generate
self-centered, okay so currently my terminal is inside the GitHub repository
and we keep the local copy of that cert-manager manifest for your convenience, so
it is located in examples/common/cert-manager, so what you have to do is just keep CTL apply this file
and it will automatically install the cert-manager
and as you can see, some stuff is being created so let’s wait until it finishes
as you can see, there are some custom resource definition created, so this is important before
we start using them, we have to wait until all of them will be registered in Kube API server
so, we can wait for these CRDs we are going to use
certificate and issuer to enter the state fund established, it should take a couple of seconds
and we are ready, so we can double-check whether the pods from the cert-manager namespace are ready
and if they are, we can proceed to install the Operator, and they are all running so
now we can proceed to ScyllaDB Operator and this is very similar because
we keep the single file with all the necessary stuff needed, so just kubectl apply
Operator,yaml and it will install the. Operator on your Kubernetes cluster
you may notice some deprecation warnings this is because I’m using one of
the latest Kubernetes version and these deprecations are already fixed in 1,2
which will be released in couple of weeks, so you don’t have to worry about it
so let’s check whether the pods inside. ScyllaDB Operator namespace are ready
and a single pod is running, so basically that’s it