Compare commits

..

7 Commits

Author SHA1 Message Date
a322553210 update readme 2024-04-11 19:37:45 -06:00
09aae9e79d change default cluster size to 3 2024-04-11 19:35:05 -06:00
c72c25a74d upgrade default postgres version to 16.2 2024-04-11 19:33:20 -06:00
9c93b1dc4a bump chart version 2024-04-11 19:31:56 -06:00
cfd426f657 bump chart version 2024-04-11 19:31:46 -06:00
93f4991a05 remove default as storage class 2024-04-11 19:30:58 -06:00
ce0f3c7b07 remove default as storage class 2024-04-11 19:30:50 -06:00
5 changed files with 15 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: postgres-cluster-upgrade
version: 0.1.0
version: 0.1.2
description: Chart for upgrading a cloudnative-pg cluster in the same namespace
keywords:
- database
@@ -11,4 +11,4 @@ sources:
maintainers:
- name: alexlebens
icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4
appVersion: v1.22.1
appVersion: v1.22.2

View File

@@ -4,7 +4,9 @@
CloudNativePG is the Kubernetes operator that covers the full lifecycle of a highly available PostgreSQL database cluster with a primary/standby architecture, using native streaming replication.
This chart bootstraps a [CNPG](https://github.com/cloudnative-pg/cloudnative-pg) cluster on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
This chart bootstraps a [CNPG](https://github.com/cloudnative-pg/cloudnative-pg) cluster upgraade on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
The process is designed to be used in conjunction with the [postgres-cluster](https://github.com/alexlebens/helm-charts/tree/main/charts/postgres-cluster) chart. The cluster in this chart connects to the orignal cluster, peforms an upgrade, then backups to the objectStore endpoint. Afterwards the upgrade cluster is removed and the orignal cluster bootstraps from the upgrade's backup.
## Prerequisites

View File

@@ -19,17 +19,17 @@ cluster:
hugepages-2Mi: 512Mi
storage:
data:
storageClass: default
storageClass:
size: 10Gi
wal:
storageClass: default
storageClass:
size: 2Gi
upgrade:
importType: microservice
importDatabases:
- app
backup:
backupEnabled: true
backupEnabled: false
inititeBackup: false
retentionPolicy: 3d
backupIndex: 1

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: postgres-cluster
version: 0.2.3
version: 0.3.0
description: Chart for cloudnative-pg cluster
keywords:
- database
@@ -10,4 +10,4 @@ sources:
maintainers:
- name: alexlebens
icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4
appVersion: v1.22.1
appVersion: v1.22.2

View File

@@ -1,9 +1,9 @@
cluster:
name: cl01tl
name:
image:
repository: ghcr.io/cloudnative-pg/postgresql
tag: 16.0
instances: 2
tag: 16.2
instances: 3
parameters:
shared_buffers: 128MB
max_slot_wal_keep_size: 2000MB
@@ -19,10 +19,10 @@ cluster:
hugepages-2Mi: 512Mi
storage:
data:
storageClass: default
storageClass:
size: 10Gi
wal:
storageClass: default
storageClass:
size: 2Gi
bootstrap:
recoveryEnabled: false