cockroachdb / cockroachdb/cockroach

roachprod: centralized api bootstrap - cluster sync and registration

Open
#156,763 1 comment 0 reactions 1 assignee Claimed by @golgeek View on GitHub
A-testeng-infra A-testing C-enhancement T-testeng
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Problem: Roachprod users currently manage clusters directly using cloud provider credentials on their local machines. This approach spreads cloud credentials widely, makes cluster tracking compute intensive, and lacks centralized visibility into cluster state. When multiple users create clusters independently, there's a high risk for collision, and no efficient way to manage clusters.

Solution: Build a centralized REST API that provides cluster synchronization and registration capabilities.

The first API iteration should expose endpoints to:
- Sync clusters from cloud providers (AWS, GCP, Azure, IBM) into a central database
- List all clusters with filtering capabilities
- Register new clusters created externally
- Update the clusters registry when changes occur
- Remove clusters from the registry when deleted

This creates a single source of truth for cluster state and enables teams to see all active clusters without direct cloud provider access.

Jira issue: CRDB-56179

Epic CRDB-49123

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.