Orchestrate CockroachDB with Kubernetes


This page shows you how to orchestrate the deployment and management of an insecure 3-node CockroachDB cluster with Kubernetes, using the beta StatefulSet feature.

Running a stateful application such as CockroachDB on Kubernetes requires using some of Kubernetes’ more complex features at a beta level of support. There are easier ways to run CockroachDB on Kubernetes for testing purposes, but the method presented here is destined to become a production deployment once Kubernetes matures sufficiently.

Deploying an insecure cluster is not recommended for data in production. We’ll update this page after improving the process to deploy secure clusters.

Read more at Cockroach Labs