Skip to content

Commit 110bd43

Browse files
author
Jonathan S. Katz
committed
Bump 4.5.0-rc.1
1 parent 5b4a4c0 commit 110bd43

File tree

30 files changed

+65
-63
lines changed

30 files changed

+65
-63
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.5.0-beta.1
12+
PGO_VERSION ?= 4.5.0-rc.1
1313
PGO_PG_VERSION ?= 12
1414
PGO_PG_FULLVERSION ?= 12.4
1515
PGO_BACKREST_VERSION ?= 2.29

README.md

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

162162
```shell
163163
kubectl create namespace pgo
164-
kubectl apply -f https://raw.githubusercontent.com/CrunchyData/postgres-operator/v4.5.0-beta.1/installers/kubectl/postgres-operator.yml
164+
kubectl apply -f https://raw.githubusercontent.com/CrunchyData/postgres-operator/v4.5.0-rc.1/installers/kubectl/postgres-operator.yml
165165
```
166166

167167
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.4-4.5.0-beta.1
19+
CCP_IMAGE_TAG=centos7-12.4-4.5.0-rc.1
2020

2121
IMAGES=(
2222
crunchy-prometheus

conf/postgres-operator/pgo.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Cluster:
22
CCPImagePrefix: registry.developers.crunchydata.com/crunchydata
33
Metrics: false
44
Badger: false
5-
CCPImageTag: centos7-12.4-4.5.0-beta.1
5+
CCPImageTag: centos7-12.4-4.5.0-rc.1
66
Port: 5432
77
PGBadgerPort: 10000
88
ExporterPort: 9187
@@ -82,4 +82,4 @@ Storage:
8282
Pgo:
8383
Audit: false
8484
PGOImagePrefix: registry.developers.crunchydata.com/crunchydata
85-
PGOImageTag: centos7-4.5.0-beta.1
85+
PGOImageTag: centos7-4.5.0-rc.1

docs/config.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ disableNavChevron = false # set true to hide next/prev chevron, default is false
2525
highlightClientSide = false # set true to use highlight.pack.js instead of the default hugo chroma highlighter
2626
menushortcutsnewtab = true # set true to open shortcuts links to a new tab/window
2727
enableGitInfo = true
28-
operatorVersion = "4.5.0-beta.1"
28+
operatorVersion = "4.5.0-rc.1"
2929
postgresVersion = "12.4"
30+
postgresVersion13 = "13.0"
3031
postgresVersion12 = "12.4"
3132
postgresVersion11 = "11.9"
3233
postgresVersion10 = "10.14"

docs/content/advanced/crunchy-postgres-exporter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Crunchy Postgres Exporter"
3-
date:
3+
date:
44
draft: false
55
weight: 3
66
---
@@ -23,7 +23,7 @@ can be specified for the API to collect. For an example of a queries.yml file, s
2323

2424
The crunchy-postgres-exporter Docker image contains the following packages (versions vary depending on PostgreSQL version):
2525

26-
* PostgreSQL ({{< param postgresVersion12 >}}, {{< param postgresVersion11 >}}, {{< param postgresVersion10 >}}, {{< param postgresVersion96 >}} and {{< param postgresVersion95 >}})
26+
* PostgreSQL ({{< param postgresVersion13 >}}, {{< param postgresVersion12 >}}, {{< param postgresVersion11 >}}, {{< param postgresVersion10 >}}, {{< param postgresVersion96 >}} and {{< param postgresVersion95 >}})
2727
* CentOS7 - publicly available
2828
* UBI7 - customers only
2929
* [PostgreSQL Exporter](https://github.com/wrouesnel/postgres_exporter)

docs/content/releases/4.5.0.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,30 @@
1-
---
2-
title: "4.5.0"
3-
date:
4-
draft: false
5-
weight: 70
6-
---
7-
81
Crunchy Data announces the release of the PostgreSQL Operator 4.5.0 on September XX, 2020.
92

103
The PostgreSQL Operator is released in conjunction with the [Crunchy Container Suite](https://github.com/CrunchyData/crunchy-containers/).
114

125
The PostgreSQL Operator 4.5.0 release includes the following software versions upgrades:
136

7+
- Add support for [PostgreSQL 13](https://www.postgresql.org/about/news/2077/).
148
- [pgBackRest](https://pgbackrest.org/) is now at version 2.29.
159
- [postgres\_exporter](https://github.com/wrouesnel/postgres_exporter) is now at version 0.8.0
1610
- [pgMonitor](https://github.com/CrunchyData/pgmonitor) support is now at 4.4
1711
- [pgnodemx](https://github.com/CrunchyData/pgnodemx) is now at version 1.0.1
12+
- [wal2json](https://github.com/eulerto/wal2json) is now at version 2.3
13+
- [Patroni](https://patroni.readthedocs.io/) is now at version 2.0.0
1814

19-
Additionally, PostgreSQL Operator 4.5.0 introduces support for the CentOS 8 and UBI 8 base container images. In addition to using the newer operating systems, this enables support for TLS 1.3 when connecting to PostgreSQL. This release also moves to building the containers using [Buildah](https://buildah.io/) 1.14.9 and above, and supports Go 1.15.
15+
Additionally, PostgreSQL Operator 4.5.0 introduces support for the CentOS 8 and UBI 8 base container images. In addition to using the newer operating systems, this enables support for TLS 1.3 when connecting to PostgreSQL. This release also moves to building the containers using [Buildah](https://buildah.io/) 1.14.9.
2016

2117
The monitoring stack for the PostgreSQL Operator has shifted to use upstream components as opposed to repackaging them. These are specified as part of the [PostgreSQL Operator Installer](https://access.crunchydata.com/documentation/postgres-operator/latest/installation/postgres-operator/). We have tested this release with the following versions of each component:
2218

2319
- Prometheus: 2.20.0
2420
- Grafana: 6.7.4
2521
- Alertmanager: 0.21.0
2622

27-
PostgreSQL Operator is tested with Kubernetes 1.15 - 1.18, OpenShift 3.11+, OpenShift 4.4+, Google Kubernetes Engine (GKE), and VMware Enterprise PKS 1.3+.
23+
PostgreSQL Operator is tested with Kubernetes 1.15 - 1.19, OpenShift 3.11+, OpenShift 4.4+, Google Kubernetes Engine (GKE), Amazon EKS, and VMware Enterprise PKS 1.3+.
2824

2925
## Major Features
3026

31-
### [PostgreSQL Operator Monitoring](https://crunchydata.github.io/postgres-operator/latest/architecture/monitoring/)
27+
### PostgreSQL Operator Monitoring
3228

3329
![PostgreSQL Operator Monitoring](/images/postgresql-monitoring.png)
3430

@@ -56,10 +52,6 @@ You can find out how to [install PostgreSQL Operator Monitoring](https://access.
5652

5753
[https://access.crunchydata.com/documentation/postgres-operator/latest/latest/installation/metrics/](https://access.crunchydata.com/documentation/postgres-operator/latest/latest/installation/metrics/)
5854

59-
More information on how the monitoring systems works is available at:
60-
61-
[https://crunchydata.github.io/postgres-operator/latest/architecture/monitoring/](https://crunchydata.github.io/postgres-operator/latest/architecture/monitoring/)
62-
6355
### Customizing pgBackRest via ConfigMap
6456

6557
[pgBackRest](https://pgbackrest.org/) powers the [disaster recovery](https://access.crunchydata.com/documentation/postgres-operator/latest/architecture/disaster-recovery/) capabilities of PostgreSQL clusters deployed by the PostgreSQL Operator. While the PostgreSQL Operator provides many toggles to customize a pgBackRest configuration, it can be easier to do so directly using the [pgBackRest configuration file format](https://pgbackrest.org/configuration.html).
@@ -129,22 +121,31 @@ To remove an annotation, one follows the format:
129121

130122
## Changes
131123

124+
- The PostgreSQL Operator now supports the default storage class that is available within a Kubernetes cluster. The installers are updated to use the default storage class by default.
132125
- The [`pgo restore`](https://access.crunchydata.com/documentation/postgres-operator/latest/pgo-client/reference/pgo_restore/) methodology is changed to mirror the approach taken by `pgo create cluster --restore-from` that was introduced in the previous release. While `pgo restore` will still perform a ["restore in-place"](https://access.crunchydata.com/documentation/postgres-operator/latest/architecture/disaster-recovery/#restores), it will now take the following actions:
133126
- Any existing persistent volume claims (PVCs) in a cluster removed.
134127
- New PVCs are initialized and the data from the PostgreSQL cluster is restored based on the parameters specified in `pgo restore`.
135128
- Any customizations for the cluster (e.g. custom PostgreSQL configuration) will be available.
136129
- This also fixes several bugs that were reported with the `pgo restore` functionality, some of which are captured further down in these release notes.
130+
- Connections to pgBouncer can now be passed along to the default `postgres` database. If you have a pre-existing pgBouncer Deployment, the most convenient way to access this functionality is to redeploy pgBouncer for that PostgreSQL cluster (`pgo delete pgbouncer` + `pgo create pgbouncer`). Suggested by (@lgarcia11).
137131
- The [Downward API](https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/) is now available to PostgreSQL instances.
132+
- The pgBouncer `pgbouncer.ini` and `pg_hba.conf` have been moved from the pgBouncer Secret to a ConfigMap whose name follows the pattern `<clusterName>-pgbouncer-cm`. These are mounted as part of a project volume in conjunction with the current pgBouncer Secret.
138133
- The `pgo df` command will round values over 1000 up to the next unit type, e.g. `1GiB` instead of `1024MiB`.
139134

140135
## Fixes
141136

142137
- Ensure that if a PostgreSQL cluster is recreated from a PVC with existing data that it will apply any custom PostgreSQL configuration settings that are specified.
143138
- Fixed issues with PostgreSQL replica Pods not becoming ready after running `pgo restore`. This fix is a result of the change in methodology for how a restore occurs.
139+
- The `pgo scaledown` now allows for the removal of replicas that are not actively running.
140+
- The `pgo scaledown --query` command now shows replicas that may not be in an active state.
144141
- The pgBackRest URI style defaults to `host` if it is not set.
145-
- pgBackRest commands can now be executed even if there are multiple pgBackRest Pods available in a Deployment, so long as there is only one "running" pgBackRest Pod.
142+
- pgBackRest commands can now be executed even if there are multiple pgBackRest Pods available in a Deployment, so long as there is only one "running" pgBackRest Pod. Reported by Rubin Simons (@rubin55).
146143
- Ensure pgBackRest S3 Secrets can be upgraded from PostgreSQL Operator 4.3.
144+
- Ensure pgBouncer Port is derived from the cluster's port, not the Operator configuration defaults.
145+
- External WAL PVCs are only removed for the replica they are targeted for on a scaledown. Reported by (@dakine1111).
147146
- Return an error if a cluster is not found when using `pgo df` instead of timing out.
148147
- pgBadger now has a default memory limit of 64Mi, which should help avoid a visit from the OOM killer.
148+
- The Postgres Exporter now works if it is deployed in a TLS-only environment, i.e. the `--tls-only` flag is set. Reported by (@shuhanfan).
149149
- Fix `pgo label` when applying multiple labels at once.
150150
- Fix `pgo create pgorole` so that the expression `--permissions=*` works.
151+
- The `operator` container will no longer panic if all Deployments are scaled to `0` without using the `pgo update cluster <mycluster> --shutdown` command.

examples/create-by-resource/fromcrd.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"pg-cluster": "fromcrd",
1717
"pg-pod-anti-affinity": "",
1818
"pgo-backrest": "true",
19-
"pgo-version": "4.5.0-beta.1",
19+
"pgo-version": "4.5.0-rc.1",
2020
"pgouser": "pgoadmin",
2121
"primary": "true"
2222
},
@@ -62,7 +62,7 @@
6262
},
6363
"backrestResources": {},
6464
"ccpimage": "crunchy-postgres-ha",
65-
"ccpimagetag": "centos7-12.4-4.5.0-beta.1",
65+
"ccpimagetag": "centos7-12.4-4.5.0-rc.1",
6666
"clustername": "fromcrd",
6767
"customconfig": "",
6868
"database": "userdb",
@@ -95,7 +95,7 @@
9595
"userlabels": {
9696
"crunchy-postgres-exporter": "false",
9797
"pg-pod-anti-affinity": "",
98-
"pgo-version": "4.5.0-beta.1",
98+
"pgo-version": "4.5.0-rc.1",
9999
"pgouser": "pgoadmin",
100100
"pgo-backrest": "true"
101101
},

examples/envs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export PGO_CONF_DIR=$PGOROOT/installers/ansible/roles/pgo-operator/files
2323
# the version of the Operator you run is set by these vars
2424
export PGO_IMAGE_PREFIX=registry.developers.crunchydata.com/crunchydata
2525
export PGO_BASEOS=centos7
26-
export PGO_VERSION=4.5.0-beta.1
26+
export PGO_VERSION=4.5.0-rc.1
2727
export PGO_IMAGE_TAG=$PGO_BASEOS-$PGO_VERSION
2828

2929
# for setting the pgo apiserver port, disabling TLS or not verifying TLS

installers/ansible/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<img width="150" src="../../crunchy_logo.png" alt="Crunchy Data"/>
55
</p>
66

7-
Latest Release: 4.5.0-beta.1
7+
Latest Release: 4.5.0-rc.1
88

99
## General
1010

0 commit comments

Comments
 (0)