Noobaa HA - deploy HA postgres cluster using CNPG operator#1560
Merged
dannyzaken merged 1 commit intonoobaa:masterfrom Mar 24, 2025
Merged
Noobaa HA - deploy HA postgres cluster using CNPG operator#1560dannyzaken merged 1 commit intonoobaa:masterfrom
dannyzaken merged 1 commit intonoobaa:masterfrom
Conversation
d6a74ce to
2716abe
Compare
alphaprinz
approved these changes
Mar 19, 2025
9080b55 to
2c168be
Compare
jackyalbo
approved these changes
Mar 23, 2025
Changes:
- **DB Deployment Changes**:
- Changed default deployment to use a DB cluster instead of standalone DB
- Added `use-standalone-db` flag to the install CLI to deploy a DB sts instead of a cluster.
- Updated DB image to `quay.io/sclorg/postgresql-16-c9s`
- **NooBaa CRD Changes**:
- Added NooBaaDBSpec with fields for Postgres major version, instances, resources, and storage
- NooBaaDBSpec is only used for cnpg cluster reconciliation.
- Added DBStatus field to reflect the cluster status
- **System Reconciliation Flow**:
- Refactored reconciliation logic to handle DB cluster deployment
- Added DB cluster creation and updating
- Added logic to support both standalone DB and clustered DB
- **Core System Installation Updates**:
- **Default installation** now deploys a DB cluster.
- **Gaps**
- Upgrade and import from an existing DB is not supported yet.
Signed-off-by: Danny Zaken <dannyzaken@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explain the changes
DB Deployment Changes:
use-standalone-dbflag to the install CLI to deploy a DB sts instead of a cluster.quay.io/sclorg/postgresql-16-c9sNooBaa CRD Changes:
System Reconciliation Flow:
System Installation Updates:
Tests:
--use-standalone-db.Gaps