The Ops Community

Raman Sharma
Raman Sharma

Posted on • Originally published at dev.to

Deploy CockroachDB in a managed 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:

Discussion (0)