---
title: "Introducing the CockroachDB Kubernetes Operator"
description: "Cockroach Labs has made its CockroachDB Kubernetes Operator generally available."
url: "https://swe.quest/articles/introducing-the-cockroachdb-kubernetes-operator-e95f6b6906d1361c"
canonical: "https://www.cockroachlabs.com/blog/cockroachdb-kubernetes-operator/"
source: "Cockroach Labs"
published: "2026-08-05"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 5
tags: ["kubernetes","distributed-databases","deployment","schema-migrations"]
---

# Introducing the CockroachDB Kubernetes Operator

A post on [Cockroach Labs](https://swe.quest/sources/cockroachdb.md), published 2026-08-05, 5 min read, Announcement. Original: [https://www.cockroachlabs.com/blog/cockroachdb-kubernetes-operator/](https://www.cockroachlabs.com/blog/cockroachdb-kubernetes-operator/)

## Summary

Cockroach Labs has made its CockroachDB Kubernetes Operator generally available. It is the same operator that has managed 600+ CockroachDB Cloud clusters for about three years, and its source can now be read on GitHub. It uses CockroachDB-specific custom resources with separate cluster-level and node-level reconciliation to automate rolling upgrades, health-aware scaling, certificate rotation, storage management such as WAL failover, and multi-region topology by mapping Kubernetes node labels to CockroachDB locality. Existing users can move from the legacy public operator or StatefulSet Helm charts through an opt-in migration controller that replaces nodes one at a time, checks cluster health between steps and supports rollback. The legacy options enter 12 months of maintenance when CockroachDB 27.3 ships in summer 2027 and then reach end-of-life.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [Distributed databases](https://swe.quest/tags/distributed-databases.md) (Data & databases)
- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)
- [Schema migrations](https://swe.quest/tags/schema-migrations.md) (Data & databases)

## Prerequisites

- Kubernetes operators and CRDs ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- Helm
- CockroachDB basics

## Keywords

CockroachDB, CockroachDB Kubernetes Operator, Helm, cert-manager, StatefulSet, Argo CD, Flux

## Related posts

- [Introducing the Official ClickHouse Kubernetes Operator: Seamless Analytics at Scale](https://swe.quest/articles/introducing-the-official-clickhouse-kubernetes-operator-seamless-analytics-at-1c92062898a1ed27.md): ClickHouse · 2026-01-29 · Medium · 3 min read · Kubernetes, Analytics & OLAP, Databases, Open source
  ClickHouse has released an official open-source (Apache-2.0) Kubernetes operator that manages ClickHouse and ClickHouse Keeper clusters through CRDs, covering provisioning, sharding, replication, scaling, configuration rollout and rolling upgrades.
- [CockroachDB 26.4: One major upgrade a year with skip-level upgrades, run active-active across two data centers, and encrypt for the post-quantum era](https://swe.quest/articles/cockroachdb-26-4-one-major-upgrade-a-year-with-skip-level-upgrades-run-active-32aefe70e59e049a.md): Cockroach Labs · 2026-11-03 · Medium · 7 min read · Distributed databases, Databases, Identity & auth, Cryptography, Observability
  CockroachDB 26.4 introduces skip-level upgrades so operators can move from one annual .4 release to the next without stopping at intermediate releases, and adds active-active writes across two data centers via transactional logical data replication.
- [The guide to secure deployments in CockroachDB](https://swe.quest/articles/the-guide-to-secure-deployments-in-cockroachdb-64425782a2230dcd.md): Cockroach Labs · 2017-11-09 · Easy · 4 min read · Distributed databases, Security, Identity & auth, Observability
  CockroachDB should run in secure mode in production rather than with the --insecure flag, which leaves the cluster open to any client, lets root log in without a password, and sends traffic unencrypted.
- [How we stress test and benchmark CockroachDB for global scale](https://swe.quest/articles/how-we-stress-test-and-benchmark-cockroachdb-for-global-scale-c91349f449ee5881.md): Cockroach Labs · 2024-01-25 · Easy · 8 min read · Distributed databases, Performance engineering, Scaling, Testing
  CockroachDB is exercised on a regular cadence of daily, weekly and per-release benchmarks, plus ad hoc and customer-partnered tests, mainly TPC-C, TPC-E and a YCSB-like KV workload.
- [How to build a multi-region Python app with CockroachDB, Django, and K8s](https://swe.quest/articles/how-to-build-a-multi-region-python-app-with-cockroachdb-django-and-k8s-004ef71dbf260924.md): Cockroach Labs · 2022-06-27 · Medium · 6 min read · Distributed databases, Python, Kubernetes, Replication, Privacy
  Data domiciling in a Django app on CockroachDB works by adding a 'cloud' field to a Customers model, deploying the app to Kubernetes clusters in Azure, AWS and GCP, and pinning each row to a region.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
