Skip to content

Commit 2a5955a

Browse files
author
Jonathan S. Katz
committed
Bump version to v4.4.0-beta.2
1 parent 5bf10c2 commit 2a5955a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+119
-119
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ PGO_CMD ?= kubectl
99
PGO_IMAGE_PREFIX ?= crunchydata
1010
PGO_IMAGE_TAG ?= $(PGO_BASEOS)-$(PGO_VERSION)
1111
PGO_OPERATOR_NAMESPACE ?= pgo
12-
PGO_VERSION ?= 4.4.0-beta.1
12+
PGO_VERSION ?= 4.4.0-beta.2
1313
PGO_PG_VERSION ?= 12
1414
PGO_PG_FULLVERSION ?= 12.3
1515
PGO_BACKREST_VERSION ?= 2.27

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Based on your storage settings in your Kubernetes environment, you may be able t
128128

129129
```shell
130130
kubectl create namespace pgo
131-
kubectl apply -f https://raw.githubusercontent.com/CrunchyData/postgres-operator/v4.4.0-beta.1/installers/kubectl/postgres-operator.yml
131+
kubectl apply -f https://raw.githubusercontent.com/CrunchyData/postgres-operator/v4.4.0-beta.2/installers/kubectl/postgres-operator.yml
132132
```
133133

134134
Otherwise, we highly recommend following the instructions from our [Quickstart](https://access.crunchydata.com/documentation/postgres-operator/latest/quickstart/).

bin/push-ccp-to-gcr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
GCR_IMAGE_PREFIX=gcr.io/crunchy-dev-test
1717

1818
CCP_IMAGE_PREFIX=crunchydata
19-
CCP_IMAGE_TAG=centos7-12.3-4.4.0-beta.1
19+
CCP_IMAGE_TAG=centos7-12.3-4.4.0-beta.2
2020

2121
IMAGES=(
2222
crunchy-prometheus

docs/content/Configuration/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
---
33
title: "Configuration Resources"
4-
Latest Release: 4.4.0-beta.1 {docdate}
4+
Latest Release: 4.4.0-beta.2 {docdate}
55
draft: false
66
weight: 2
77
---

docs/content/Configuration/pgo-yaml-configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
---
33
title: "PGO YAML"
4-
Latest Release: 4.4.0-beta.1 {docdate}
4+
Latest Release: 4.4.0-beta.2 {docdate}
55
draft: false
66
weight: 3
77
---
@@ -16,7 +16,7 @@ The *pgo.yaml* file is broken into major sections as described below:
1616
|---|---|
1717
|BasicAuth | If set to `"true"` will enable Basic Authentication. If set to `"false"`, will allow a valid Operator user to successfully authenticate regardless of the value of the password provided for Basic Authentication. Defaults to `"true".`
1818
|CCPImagePrefix |newly created containers will be based on this image prefix (e.g. crunchydata), update this if you require a custom image prefix
19-
|CCPImageTag |newly created containers will be based on this image version (e.g. centos7-12.3-4.4.0-beta.1), unless you override it using the --ccp-image-tag command line flag
19+
|CCPImageTag |newly created containers will be based on this image version (e.g. centos7-12.3-4.4.0-beta.2), unless you override it using the --ccp-image-tag command line flag
2020
|Port | the PostgreSQL port to use for new containers (e.g. 5432)
2121
|PGBadgerPort | the port used to connect to pgbadger (e.g. 10000)
2222
|ExporterPort | the port used to connect to postgres exporter (e.g. 9187)

docs/content/Security/install-postgres-operator-rbac.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ weight: 7
77

88
## Installation of PostgreSQL Operator RBAC
99

10-
For a list of the RBAC required to install the PostgreSQL Operator, please view the [`postgres-operator.yml`](https://raw.githubusercontent.com/CrunchyData/postgres-operator/v4.4.0-beta.1/installers/kubectl/postgres-operator.yml) file:
10+
For a list of the RBAC required to install the PostgreSQL Operator, please view the [`postgres-operator.yml`](https://raw.githubusercontent.com/CrunchyData/postgres-operator/v4.4.0-beta.2/installers/kubectl/postgres-operator.yml) file:
1111

12-
[https://raw.githubusercontent.com/CrunchyData/postgres-operator/v4.4.0-beta.1/installers/kubectl/postgres-operator.yml](https://raw.githubusercontent.com/CrunchyData/postgres-operator/v4.4.0-beta.1/installers/kubectl/postgres-operator.yml)
12+
[https://raw.githubusercontent.com/CrunchyData/postgres-operator/v4.4.0-beta.2/installers/kubectl/postgres-operator.yml](https://raw.githubusercontent.com/CrunchyData/postgres-operator/v4.4.0-beta.2/installers/kubectl/postgres-operator.yml)
1313

1414
The first step is to install the PostgreSQL Operator RBAC configuration. This can be accomplished by running:
1515

docs/content/Upgrade/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Upgrade"
3-
Latest Release: 4.4.0-beta.1 {docdate}
3+
Latest Release: 4.4.0-beta.2 {docdate}
44
draft: false
55
weight: 80
66
---

docs/content/Upgrade/automatedupgrade.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Automated PostgreSQL Operator Upgrade - Operator 4.1+"
3-
Latest Release: 4.4.0-beta.1 {docdate}
3+
Latest Release: 4.4.0-beta.2 {docdate}
44
draft: false
55
weight: 80
66
---
@@ -73,7 +73,7 @@ export EXCLUDE_OS_TRUST=false
7373

7474
Then, for either 4.1.X or 4.2.X,
7575

76-
Update the `PGO_VERSION` variable to `4.4.0-beta.1`
76+
Update the `PGO_VERSION` variable to `4.4.0-beta.2`
7777

7878
Finally, source this file with
7979
```

docs/content/Upgrade/manual/upgrade35.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
---
22
title: "Manual Upgrade - Operator 3.5"
3-
Latest Release: 4.4.0-beta.1 {docdate}
3+
Latest Release: 4.4.0-beta.2 {docdate}
44
draft: false
55
weight: 8
66
---
77

8-
## Upgrading the Crunchy PostgreSQL Operator from Version 3.5 to 4.4.0-beta.1
8+
## Upgrading the Crunchy PostgreSQL Operator from Version 3.5 to 4.4.0-beta.2
99

10-
This section will outline the procedure to upgrade a given cluster created using PostgreSQL Operator 3.5.x to PostgreSQL Operator version 4.4.0-beta.1. This version of the PostgreSQL Operator has several fundamental changes to the existing PGCluster structure and deployment model. Most notably, all PGClusters use the new Crunchy PostgreSQL HA container in place of the previous Crunchy PostgreSQL containers. The use of this new container is a breaking change from previous versions of the Operator.
10+
This section will outline the procedure to upgrade a given cluster created using PostgreSQL Operator 3.5.x to PostgreSQL Operator version 4.4.0-beta.2. This version of the PostgreSQL Operator has several fundamental changes to the existing PGCluster structure and deployment model. Most notably, all PGClusters use the new Crunchy PostgreSQL HA container in place of the previous Crunchy PostgreSQL containers. The use of this new container is a breaking change from previous versions of the Operator.
1111

1212
#### Crunchy PostgreSQL High Availability Containers
1313

14-
Using the PostgreSQL Operator 4.4.0-beta.1 requires replacing your `crunchy-postgres` and `crunchy-postgres-gis` containers with the `crunchy-postgres-ha` and `crunchy-postgres-gis-ha` containers respectively. The underlying PostgreSQL installations in the container remain the same but are now optimized for Kubernetes environments to provide the new high-availability functionality.
14+
Using the PostgreSQL Operator 4.4.0-beta.2 requires replacing your `crunchy-postgres` and `crunchy-postgres-gis` containers with the `crunchy-postgres-ha` and `crunchy-postgres-gis-ha` containers respectively. The underlying PostgreSQL installations in the container remain the same but are now optimized for Kubernetes environments to provide the new high-availability functionality.
1515

1616
A major change to this container is that the PostgreSQL process is now managed by Patroni. This allows a PostgreSQL cluster that is deployed by the PostgreSQL Operator to manage its own uptime and availability, to elect a new leader in the event of a downtime scenario, and to automatically heal after a failover event.
1717

18-
When creating your new clusters using version 4.4.0-beta.1 of the PostgreSQL Operator, the `pgo create cluster` command will automatically use the new `crunchy-postgres-ha` image if the image is unspecified. If you are creating a PostGIS enabled cluster, please be sure to use the updated image name, as with the command:
18+
When creating your new clusters using version 4.4.0-beta.2 of the PostgreSQL Operator, the `pgo create cluster` command will automatically use the new `crunchy-postgres-ha` image if the image is unspecified. If you are creating a PostGIS enabled cluster, please be sure to use the updated image name, as with the command:
1919

2020
```
2121
pgo create cluster mygiscluster --ccp-image=crunchy-postgres-gis-ha
@@ -31,7 +31,7 @@ You will need the following items to complete the upgrade:
3131

3232
##### Step 1
3333

34-
Create a new Linux user with the same permissions as the existing user used to install the Crunchy PostgreSQL Operator. This is necessary to avoid any issues with environment variable differences between 3.5 and 4.4.0-beta.1.
34+
Create a new Linux user with the same permissions as the existing user used to install the Crunchy PostgreSQL Operator. This is necessary to avoid any issues with environment variable differences between 3.5 and 4.4.0-beta.2.
3535

3636
##### Step 2
3737

@@ -101,7 +101,7 @@ $COROOT/deploy/remove-crd.sh
101101

102102
##### Step 6
103103

104-
Log in as your new Linux user and install the 4.4.0-beta.1 PostgreSQL Operator as described in the [Bash Installation Procedure]( {{< relref "installation/other/bash.md" >}}).
104+
Log in as your new Linux user and install the 4.4.0-beta.2 PostgreSQL Operator as described in the [Bash Installation Procedure]( {{< relref "installation/other/bash.md" >}}).
105105

106106
Be sure to add the existing namespace to the Operator's list of watched namespaces (see the [Namespace]( {{< relref "architecture/namespace.md" >}}) section of this document for more information) and make sure to avoid overwriting any existing data storage.
107107

@@ -110,7 +110,7 @@ We strongly recommend that you create a test cluster before proceeding to the ne
110110

111111
##### Step 7
112112

113-
Once the Operator is installed and functional, create a new 4.4.0-beta.1 cluster matching the cluster details recorded in Step 1. Be sure to use the primary PVC name (also noted in Step 1) and the same major PostgreSQL version as was used previously. This will allow the new clusters to utilize the existing PVCs.
113+
Once the Operator is installed and functional, create a new 4.4.0-beta.2 cluster matching the cluster details recorded in Step 1. Be sure to use the primary PVC name (also noted in Step 1) and the same major PostgreSQL version as was used previously. This will allow the new clusters to utilize the existing PVCs.
114114

115115
NOTE: If you have existing pgBackRest backups stored that you would like to have available in the upgraded cluster, you will need to follow the [PVC Renaming Procedure]( {{< relref "Upgrade/manual/upgrade35#pgbackrest-repo-pvc-renaming" >}}).
116116

@@ -122,7 +122,7 @@ pgo create cluster <clustername> -n <namespace>
122122

123123
##### Step 8
124124

125-
Manually update the old leftover Secrets to use the new label as defined in 4.4.0-beta.1:
125+
Manually update the old leftover Secrets to use the new label as defined in 4.4.0-beta.2:
126126

127127
```
128128
kubectl -n <namespace> label secret/<clustername>-postgres-secret pg-cluster=<clustername> -n <namespace>

docs/content/Upgrade/manual/upgrade4.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
---
22
title: "Manual Upgrade - Operator 4"
3-
Latest Release: 4.4.0-beta.1 {docdate}
3+
Latest Release: 4.4.0-beta.2 {docdate}
44
draft: false
55
weight: 8
66
---
77

88
## Manual PostgreSQL Operator 4 Upgrade Procedure
99

10-
Below are the procedures for upgrading to version 4.4.0-beta.1 of the Crunchy PostgreSQL Operator using the Bash or Ansible installation methods. This version of the PostgreSQL Operator has several fundamental changes to the existing PGCluster structure and deployment model. Most notably for those upgrading from 4.1 and below, all PGClusters use the new Crunchy PostgreSQL HA container in place of the previous Crunchy PostgreSQL containers. The use of this new container is a breaking change from previous versions of the Operator did not use the HA containers.
10+
Below are the procedures for upgrading to version 4.4.0-beta.2 of the Crunchy PostgreSQL Operator using the Bash or Ansible installation methods. This version of the PostgreSQL Operator has several fundamental changes to the existing PGCluster structure and deployment model. Most notably for those upgrading from 4.1 and below, all PGClusters use the new Crunchy PostgreSQL HA container in place of the previous Crunchy PostgreSQL containers. The use of this new container is a breaking change from previous versions of the Operator did not use the HA containers.
1111

1212
NOTE: If you are upgrading from Crunchy PostgreSQL Operator version 4.1.0 or later, the [Automated Upgrade Procedure](/upgrade/automatedupgrade) is recommended. If you are upgrading PostgreSQL 12 clusters, you MUST use the [Automated Upgrade Procedure](/upgrade/automatedupgrade).
1313

1414
#### Crunchy PostgreSQL High Availability Containers
1515

16-
Using the PostgreSQL Operator 4.4.0-beta.1 requires replacing your `crunchy-postgres` and `crunchy-postgres-gis` containers with the `crunchy-postgres-ha` and `crunchy-postgres-gis-ha` containers respectively. The underlying PostgreSQL installations in the container remain the same but are now optimized for Kubernetes environments to provide the new high-availability functionality.
16+
Using the PostgreSQL Operator 4.4.0-beta.2 requires replacing your `crunchy-postgres` and `crunchy-postgres-gis` containers with the `crunchy-postgres-ha` and `crunchy-postgres-gis-ha` containers respectively. The underlying PostgreSQL installations in the container remain the same but are now optimized for Kubernetes environments to provide the new high-availability functionality.
1717

1818
A major change to this container is that the PostgreSQL process is now managed by Patroni. This allows a PostgreSQL cluster that is deployed by the PostgreSQL Operator to manage its own uptime and availability, to elect a new leader in the event of a downtime scenario, and to automatically heal after a failover event.
1919

20-
When creating your new clusters using version 4.4.0-beta.1 of the PostgreSQL Operator, the `pgo create cluster` command will automatically use the new `crunchy-postgres-ha` image if the image is unspecified. If you are creating a PostGIS enabled cluster, please be sure to use the updated image name, as with the command:
20+
When creating your new clusters using version 4.4.0-beta.2 of the PostgreSQL Operator, the `pgo create cluster` command will automatically use the new `crunchy-postgres-ha` image if the image is unspecified. If you are creating a PostGIS enabled cluster, please be sure to use the updated image name, as with the command:
2121

2222
```
2323
pgo create cluster mygiscluster --ccp-image=crunchy-postgres-gis-ha
@@ -35,7 +35,7 @@ Below are the procedures for upgrading the PostgreSQL Operator and PostgreSQL cl
3535

3636
You will need the following items to complete the upgrade:
3737

38-
* The latest 4.4.0-beta.1 code for the Postgres Operator available
38+
* The latest 4.4.0-beta.2 code for the Postgres Operator available
3939

4040
These instructions assume you are executing in a terminal window and that your user has admin privileges in your Kubernetes or Openshift environment.
4141

@@ -116,7 +116,7 @@ NOTE: Please note the name of each cluster, the namespace used, and be sure not
116116

117117
##### Step 4
118118

119-
Save a copy of your current inventory file with a new name (such as `inventory.backup)` and checkout the latest 4.4.0-beta.1 tag of the Postgres Operator.
119+
Save a copy of your current inventory file with a new name (such as `inventory.backup)` and checkout the latest 4.4.0-beta.2 tag of the Postgres Operator.
120120

121121

122122
##### Step 5
@@ -147,7 +147,7 @@ We strongly recommend that you create a test cluster before proceeding to the ne
147147

148148
##### Step 8
149149

150-
Once the Operator is installed and functional, create a new 4.4.0-beta.1 cluster matching the cluster details recorded in Step 1. Be sure to use the primary PVC name (also noted in Step 1) and the same major PostgreSQL version as was used previously. This will allow the new clusters to utilize the existing PVCs.
150+
Once the Operator is installed and functional, create a new 4.4.0-beta.2 cluster matching the cluster details recorded in Step 1. Be sure to use the primary PVC name (also noted in Step 1) and the same major PostgreSQL version as was used previously. This will allow the new clusters to utilize the existing PVCs.
151151

152152
NOTE: If you have existing pgBackRest backups stored that you would like to have available in the upgraded cluster, you will need to follow the [PVC Renaming Procedure]( {{< relref "Upgrade/manual/upgrade4#pgbackrest-repo-pvc-renaming" >}}).
153153

@@ -284,7 +284,7 @@ $PGOROOT/deploy/cleanup-rbac.sh
284284
For versions 4.0, 4.1 and 4.2, update environment variables in the bashrc:
285285

286286
```
287-
export PGO_VERSION=4.4.0-beta.1
287+
export PGO_VERSION=4.4.0-beta.2
288288
```
289289

290290
NOTE: This will be the only update to the bashrc file for 4.2.
@@ -341,9 +341,9 @@ source ~/.bashrc
341341

342342
##### Step 8
343343

344-
Ensure you have checked out the latest 4.4.0-beta.1 version of the source code and update the pgo.yaml file in `$PGOROOT/conf/postgres-operator/pgo.yaml`
344+
Ensure you have checked out the latest 4.4.0-beta.2 version of the source code and update the pgo.yaml file in `$PGOROOT/conf/postgres-operator/pgo.yaml`
345345

346-
You will want to use the 4.4.0-beta.1 pgo.yaml file and update custom settings such as image locations, storage, and resource configs.
346+
You will want to use the 4.4.0-beta.2 pgo.yaml file and update custom settings such as image locations, storage, and resource configs.
347347

348348
##### Step 9
349349

@@ -359,7 +359,7 @@ You will need to update the `$HOME/.pgouser`file to match the values you set in
359359

360360
##### Step 10
361361

362-
Install the 4.4.0-beta.1 Operator:
362+
Install the 4.4.0-beta.2 Operator:
363363

364364
Setup the configured namespaces:
365365

@@ -387,7 +387,7 @@ kubectl get pod -n <operator namespace>
387387

388388
##### Step 11
389389

390-
Next, update the PGO client binary to 4.4.0-beta.1 by replacing the existing 4.X binary with the latest 4.4.0-beta.1 binary available.
390+
Next, update the PGO client binary to 4.4.0-beta.2 by replacing the existing 4.X binary with the latest 4.4.0-beta.2 binary available.
391391

392392
You can run:
393393

@@ -416,7 +416,7 @@ make deployoperator
416416

417417
##### Step 13
418418

419-
The Operator is now upgraded to 4.4.0-beta.1 and all users and roles have been recreated.
419+
The Operator is now upgraded to 4.4.0-beta.2 and all users and roles have been recreated.
420420
Verify this by running:
421421

422422
```
@@ -427,7 +427,7 @@ We strongly recommend that you create a test cluster before proceeding to the ne
427427

428428
##### Step 14
429429

430-
Once the Operator is installed and functional, create a new 4.4.0-beta.1 cluster matching the cluster details recorded in Step 1. Be sure to use the same name and the same major PostgreSQL version as was used previously. This will allow the new clusters to utilize the existing PVCs. A simple example is given below, but more information on cluster creation can be found [here](/pgo-client/common-tasks#creating-a-postgresql-cluster)
430+
Once the Operator is installed and functional, create a new 4.4.0-beta.2 cluster matching the cluster details recorded in Step 1. Be sure to use the same name and the same major PostgreSQL version as was used previously. This will allow the new clusters to utilize the existing PVCs. A simple example is given below, but more information on cluster creation can be found [here](/pgo-client/common-tasks#creating-a-postgresql-cluster)
431431

432432
NOTE: If you have existing pgBackRest backups stored that you would like to have available in the upgraded cluster, you will need to follow the [PVC Renaming Procedure]( {{< relref "Upgrade/manual/upgrade4#pgbackrest-repo-pvc-renaming" >}}).
433433

0 commit comments

Comments
 (0)