Toggle Menu

Cassandra and Kubernetes

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 Started

Cloud Native Applications with Kubernetes

Are 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!

Next Concept: Why Kubernetes and Cassandra?

Why Kubernetes and Cassandra?

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.

Next Concept: How to use Kubernetes with Cassandra

How to use Kubernetes with Cassandra

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.

Next Concept: Skill Building

Skill Building

Try Some Common Tasks - Resize a cluster, complete a mock deployment, execute a dynamic configuration, simulate a maintanance job.

DataStax Kubernetes Operator for Apache Cassandra™

Deploy Cassandra using the Kubernetes Operator

CONTRIBUTORS

Simplify your ops-life by using the Cassandra Kubernetes Operator to run your cluster!

In this scenario, we'll learn how to:

  • Create a Kubernetes cluster
  • Install the Cassandra Kubernetes operator
  • Create a single node cluster
  • Create a keyspace and table with data in the cluster
  • Scale up the Cassandra cluster to two nodes using Kubernetes

With Kubernetes and this operator, your Cassandra life just got a lot easier!

Time to Complete

20 minutes

Difficulty

Intermediate

Share

Continue Your Journey

Kubernetes Workshop Video

Deploy a Cassandra cluster using the DataStax Kubernetes Operator for Apache Cassandra®

Watch Now

Java REST Microservices Example

Follow this single-stack example microservice showing Spring, Kubernetes and Cassandra.

Start Coding

Main Operator Repository

Visit the main GitHub repo for DataStax Kubernetes Operator for Apache Cassandra®

Visit Now

More Resources

Items releated to Kubernetes

BLOG

Kubernetes Cassandra Operator Documents

Check out the Kuberbetes Cassandra Operator docs, including a getting started section.

Visit Now
BLOG

Watch the DataStax Kubernetes Operator in Action

Get an introduction to the Kubernetes Operator along with links to additional resources.

Watch Now
VIDEO

Cassandra and Kubernetes at Target with Aaron Ploetz

Watch as Aaron Ploetz of Target talks about how they implemented Cassandra on Kubernetes.

Watch Now