DEV Community 👩‍💻👨‍💻

Cover image for Deploy CockroachDB in a  DigitalOcean Kubernetes Cluster
Nayan
Nayan

Posted on

Deploy CockroachDB in a DigitalOcean Kubernetes Cluster

For the DigitalOcean Kubernetes Challenge, I wanted to deploy a database to a managed Kubernetes cluster, and decided to go with CockroachDB Core.

The process to deploy on Kubernetes was simple. I just followed the instructions in CockroachDB official documentation, with just one change - In "Step 1. Start Kubernetes", instead of using hosted GKE or EKS (as mentioned in the docs), I used DigitalOcean's Managed Kubernetes service.

So my "Step 1. Start Kubernetes" was basically:

Rest of the steps were as mentioned in the doc:

Top comments (0)

Let's team up together 🤝

We're Hiring

We're hiring for a Senior Full Stack Engineer to join the DEV team. Want the deets? Head here to learn more about who we're looking for.