Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cluster Chart v0.0.1-alpha #179

Merged
merged 108 commits into from
Feb 16, 2024
Merged

Cluster Chart v0.0.1-alpha #179

merged 108 commits into from
Feb 16, 2024

Conversation

sxd
Copy link
Member

@sxd sxd commented Feb 2, 2024

Initial prototype of the cluster chart.

The objective of the chart is to provide a really easy to use interface for cluster recovery and a convention over configuration approach.

It is the better approach in my opinion to simply a wrapper with respect to CNPG, as technically a CNPG cluster is just one resource that needs to be configured correctly.

Based on your feedback in #88 I designed the chart to operate in 3 modes:

  1. standalone - That would be your initial CNPG cluster
  2. recovery - That's a cluster with a recovery bootstrap section
  3. replica - For an off-site replica cluster (TODO)

There are three methods for recovery that you can choose from via recovery.method:

  1. backup
  2. object_store
  3. pg_basebackup (TODO)

The chart by default separates the configuration between backup barmanObjectStore and recovery barmanObjectStore so that no conflicts of configuration arise.

I've implemented an initial-backup that is implemented as a post-install hook so that the cluster can provide PITR from its initialization (as opposed to after its first base or scheduled backup).

The chart includes an interface for specifying multiple ScheduledBackups and a PgBouncer.

I've implemented some base configuration for future out-of-the-box support of PostGIS via the type setting.

image

Closes: #178

Itay Grudev and others added 30 commits May 12, 2023 13:55
Signed-off-by: Itay Grudev <[email protected]>
… backups. Added Notes and a values example.

Signed-off-by: Itay Grudev <[email protected]>
Signed-off-by: Itay Grudev <[email protected]>
Signed-off-by: Itay Grudev <[email protected]>
…ly after initializing the cluster

Signed-off-by: Itay Grudev <[email protected]>
Signed-off-by: Itay Grudev <[email protected]>
Signed-off-by: Itay Grudev <[email protected]>
Signed-off-by: Itay Grudev <[email protected]>
Signed-off-by: Itay Grudev <[email protected]>
itay-grudev and others added 17 commits October 19, 2023 12:51
Signed-off-by: Itay Grudev <[email protected]>
Signed-off-by: Itay Grudev <[email protected]>
Signed-off-by: Itay Grudev <[email protected]>
Signed-off-by: Itay Grudev <[email protected]>
Signed-off-by: Itay Grudev <[email protected]>
Signed-off-by: Itay Grudev <[email protected]>
Signed-off-by: Itay Grudev <[email protected]>
Signed-off-by: Itay Grudev <[email protected]>
.github/actions/setup-kind/action.yml Outdated Show resolved Hide resolved
Co-authored-by: Philippe Scorsolini <[email protected]>
Signed-off-by: Itay Grudev <[email protected]>
@itay-grudev itay-grudev merged commit c939e3e into main Feb 16, 2024
4 checks passed
@itay-grudev itay-grudev deleted the dev/178 branch February 16, 2024 20:58
@itay-grudev itay-grudev added the chart( cluster ) Related to the cluster chart label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chart( cluster ) Related to the cluster chart
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide a Cluster chart
3 participants