You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Otherwise, we highly recommend following the instructions from our [Quickstart](https://access.crunchydata.com/documentation/postgres-operator/latest/quickstart/).
Copy file name to clipboardExpand all lines: docs/content/Configuration/pgo-yaml-configuration.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
2
2
---
3
3
title: "PGO YAML"
4
-
Latest Release: 4.4.0-beta.1 {docdate}
4
+
Latest Release: 4.4.0-beta.2 {docdate}
5
5
draft: false
6
6
weight: 3
7
7
---
@@ -16,7 +16,7 @@ The *pgo.yaml* file is broken into major sections as described below:
16
16
|---|---|
17
17
|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".`
18
18
|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
20
20
|Port | the PostgreSQL port to use for new containers (e.g. 5432)
21
21
|PGBadgerPort | the port used to connect to pgbadger (e.g. 10000)
22
22
|ExporterPort | the port used to connect to postgres exporter (e.g. 9187)
Copy file name to clipboardExpand all lines: docs/content/Security/install-postgres-operator-rbac.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,9 @@ weight: 7
7
7
8
8
## Installation of PostgreSQL Operator RBAC
9
9
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:
Copy file name to clipboardExpand all lines: docs/content/Upgrade/manual/upgrade35.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,21 @@
1
1
---
2
2
title: "Manual Upgrade - Operator 3.5"
3
-
Latest Release: 4.4.0-beta.1 {docdate}
3
+
Latest Release: 4.4.0-beta.2 {docdate}
4
4
draft: false
5
5
weight: 8
6
6
---
7
7
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
9
9
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.
11
11
12
12
#### Crunchy PostgreSQL High Availability Containers
13
13
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.
15
15
16
16
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.
17
17
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:
@@ -31,7 +31,7 @@ You will need the following items to complete the upgrade:
31
31
32
32
##### Step 1
33
33
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.
35
35
36
36
##### Step 2
37
37
@@ -101,7 +101,7 @@ $COROOT/deploy/remove-crd.sh
101
101
102
102
##### Step 6
103
103
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" >}}).
105
105
106
106
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.
107
107
@@ -110,7 +110,7 @@ We strongly recommend that you create a test cluster before proceeding to the ne
110
110
111
111
##### Step 7
112
112
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.
114
114
115
115
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" >}}).
Copy file name to clipboardExpand all lines: docs/content/Upgrade/manual/upgrade4.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,23 @@
1
1
---
2
2
title: "Manual Upgrade - Operator 4"
3
-
Latest Release: 4.4.0-beta.1 {docdate}
3
+
Latest Release: 4.4.0-beta.2 {docdate}
4
4
draft: false
5
5
weight: 8
6
6
---
7
7
8
8
## Manual PostgreSQL Operator 4 Upgrade Procedure
9
9
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.
11
11
12
12
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).
13
13
14
14
#### Crunchy PostgreSQL High Availability Containers
15
15
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.
17
17
18
18
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.
19
19
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:
@@ -35,7 +35,7 @@ Below are the procedures for upgrading the PostgreSQL Operator and PostgreSQL cl
35
35
36
36
You will need the following items to complete the upgrade:
37
37
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
39
39
40
40
These instructions assume you are executing in a terminal window and that your user has admin privileges in your Kubernetes or Openshift environment.
41
41
@@ -116,7 +116,7 @@ NOTE: Please note the name of each cluster, the namespace used, and be sure not
116
116
117
117
##### Step 4
118
118
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.
120
120
121
121
122
122
##### Step 5
@@ -147,7 +147,7 @@ We strongly recommend that you create a test cluster before proceeding to the ne
147
147
148
148
##### Step 8
149
149
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.
151
151
152
152
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" >}}).
For versions 4.0, 4.1 and 4.2, update environment variables in the bashrc:
285
285
286
286
```
287
-
export PGO_VERSION=4.4.0-beta.1
287
+
export PGO_VERSION=4.4.0-beta.2
288
288
```
289
289
290
290
NOTE: This will be the only update to the bashrc file for 4.2.
@@ -341,9 +341,9 @@ source ~/.bashrc
341
341
342
342
##### Step 8
343
343
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`
345
345
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.
347
347
348
348
##### Step 9
349
349
@@ -359,7 +359,7 @@ You will need to update the `$HOME/.pgouser`file to match the values you set in
359
359
360
360
##### Step 10
361
361
362
-
Install the 4.4.0-beta.1 Operator:
362
+
Install the 4.4.0-beta.2 Operator:
363
363
364
364
Setup the configured namespaces:
365
365
@@ -387,7 +387,7 @@ kubectl get pod -n <operator namespace>
387
387
388
388
##### Step 11
389
389
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.
391
391
392
392
You can run:
393
393
@@ -416,7 +416,7 @@ make deployoperator
416
416
417
417
##### Step 13
418
418
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.
420
420
Verify this by running:
421
421
422
422
```
@@ -427,7 +427,7 @@ We strongly recommend that you create a test cluster before proceeding to the ne
427
427
428
428
##### Step 14
429
429
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)
431
431
432
432
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" >}}).
0 commit comments