Time to Complete
20 minutes
Difficulty
Intermediate
Apache Cassandra™ is the database of choice for large-scale cloud applications, while Kubernetes has emerged as the leading orchestration platform for deploying and managing containerized systems in the cloud. Since managing infrastructure has been standardizing around Kubernetes, many organizations are looking at the data plane as something that should also be managed under the same umbrella. Let's look at the possibilities that emerge when we put these powerful technologies together.
Get StartedAre you developing a cloud-native application? Then you are in one of two camps: those who are using Kubernetes for lifecycle management, or those who are about to use Kubernetes for lifecycle management! In either case, you want to know how to integrate data persistence with Cassandra into your application and use Kubernetes to manage it all for you. We’ll show you how!
A great feature of Cassandra is its elastic ability to grow and shrink as required. Kubernetes simplifies distributed systems lifecycle management. Combining Cassandra with Kubernetes is a synergistic and natural fit that allows you to resize your Cassandra cluster by telling Kubernetes what you want and letting Kubernetes figure out the details of how to get there.
If you are new to Kubernetes, setting up anything but a simple Kubernetes cluster can be daunting. Add to this the complexities of managing a Cassandra cluster and the task becomes downright overwhelming. Have no fear! DataStax has collaborated with the Cassandra community on an open source Kubernetes Operator for Apache Cassandra™ that removes this complexity. The operator allows you to express familiar Cassandra concepts, such as datacenters and nodes, within Kubernetes. The operator also provides a controller to monitor and maintain your Cassandra cluster.
Try Some Common Tasks - Resize a cluster, complete a mock deployment, execute a dynamic configuration, simulate a maintanance job.
Deploy Cassandra using the Kubernetes Operator
Simplify your ops-life by using the Cassandra Kubernetes Operator to run your cluster!
In this scenario, we'll learn how to:
With Kubernetes and this operator, your Cassandra life just got a lot easier!
Deploy a Cassandra cluster using the DataStax Kubernetes Operator for Apache Cassandra®
Watch NowFollow this single-stack example microservice showing Spring, Kubernetes and Cassandra.
Start CodingVisit the main GitHub repo for DataStax Kubernetes Operator for Apache Cassandra®
Visit NowItems releated to Kubernetes
Check out the Kuberbetes Cassandra Operator docs, including a getting started section.
Visit NowGet an introduction to the Kubernetes Operator along with links to additional resources.
Watch NowWatch as Aaron Ploetz of Target talks about how they implemented Cassandra on Kubernetes.
Watch NowPodcast: Orchestration with Kathryn Erickson