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:

Oldest comments (0)