digitalocean / digitalocean/do-operator

read-only replicas

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
95
Forks
10
Avg merge
9h 30m
Merged PRs (30d)
1

Description

It would be nice to be able to create read-only replicas from the operator.

I imagine there would be a "PrimaryClusterId" field in the DatabaseClusterSpec which would, during creation, create a replica.

If this field was deleted down the line, the database could promote itself to a primary.

alternatively, there could be a "DatabaseReplicaCluster". This would involve adding a field like "ReplicaClusterId" in "DatabaseClusterSpec" which would facilitate the promotion & deletion of the old replica.

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.