Skip to content

Commit bb3d2fa

Browse files
authored
Bump v1.5.0 (#954)
* bump to v1.5.0 * update helm charts and docs * update helm charts and packages * update images for spilo, logical-backup and pooler
1 parent 76d4352 commit bb3d2fa

21 files changed

+90
-72
lines changed

charts/postgres-operator-ui/Chart.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
name: postgres-operator-ui
3-
version: 1.4.0
4-
appVersion: 1.4.0
3+
version: 1.5.0
4+
appVersion: 1.5.0
55
home: https://github.com/zalando/postgres-operator
66
description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience
77
keywords:
@@ -14,8 +14,6 @@ keywords:
1414
maintainers:
1515
- name: Zalando
1616
email: opensource@zalando.de
17-
- name: siku4
18-
email: sk@sik-net.de
1917
sources:
2018
- https://github.com/zalando/postgres-operator
2119
engine: gotpl

charts/postgres-operator-ui/index.yaml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,32 @@
11
apiVersion: v1
22
entries:
33
postgres-operator-ui:
4+
- apiVersion: v1
5+
appVersion: 1.5.0
6+
created: "2020-05-04T16:36:04.770110276+02:00"
7+
description: Postgres Operator UI provides a graphical interface for a convenient
8+
database-as-a-service user experience
9+
digest: ff373185f9d125f918935b226eaed0a245cc4dd561f884424d92f094b279afe9
10+
home: https://github.com/zalando/postgres-operator
11+
keywords:
12+
- postgres
13+
- operator
14+
- ui
15+
- cloud-native
16+
- patroni
17+
- spilo
18+
maintainers:
19+
- email: opensource@zalando.de
20+
name: Zalando
21+
name: postgres-operator-ui
22+
sources:
23+
- https://github.com/zalando/postgres-operator
24+
urls:
25+
- postgres-operator-ui-1.5.0.tgz
26+
version: 1.5.0
427
- apiVersion: v1
528
appVersion: 1.4.0
6-
created: "2020-02-24T15:32:47.610967635+01:00"
29+
created: "2020-05-04T16:36:04.769604808+02:00"
730
description: Postgres Operator UI provides a graphical interface for a convenient
831
database-as-a-service user experience
932
digest: 00e0eff7056d56467cd5c975657fbb76c8d01accd25a4b7aca81bc42aeac961d
@@ -26,4 +49,4 @@ entries:
2649
urls:
2750
- postgres-operator-ui-1.4.0.tgz
2851
version: 1.4.0
29-
generated: "2020-02-24T15:32:47.610348278+01:00"
52+
generated: "2020-05-04T16:36:04.768922456+02:00"
Binary file not shown.

charts/postgres-operator-ui/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ spec:
4141
value: "http://localhost:8081"
4242
- name: "OPERATOR_API_URL"
4343
value: {{ .Values.envs.operatorApiUrl }}
44+
- name: "OPERATOR_CLUSTER_NAME_LABEL"
45+
value: {{ .Values.envs.operatorClusterNameLabel }}
46+
- name: "RESOURCES_VISIBLE"
47+
value: {{ .Values.envs.resourcesVisible }}
4448
- name: "TARGET_NAMESPACE"
4549
value: {{ .Values.envs.targetNamespace }}
4650
- name: "TEAMS"

charts/postgres-operator-ui/values.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ replicaCount: 1
88
image:
99
registry: registry.opensource.zalan.do
1010
repository: acid/postgres-operator-ui
11-
tag: v1.4.0
11+
tag: v1.5.0
1212
pullPolicy: "IfNotPresent"
1313

1414
rbac:
@@ -25,8 +25,8 @@ serviceAccount:
2525
# configure UI pod resources
2626
resources:
2727
limits:
28-
cpu: 300m
29-
memory: 3000Mi
28+
cpu: 200m
29+
memory: 200Mi
3030
requests:
3131
cpu: 100m
3232
memory: 100Mi
@@ -36,12 +36,14 @@ envs:
3636
# IMPORTANT: While operator chart and UI chart are idendependent, this is the interface between
3737
# UI and operator API. Insert the service name of the operator API here!
3838
operatorApiUrl: "http://postgres-operator:8080"
39+
operatorClusterNameLabel: "cluster-name"
40+
resourcesVisible: "False"
3941
targetNamespace: "default"
4042

4143
# configure UI service
4244
service:
4345
type: "ClusterIP"
44-
port: "8080"
46+
port: "8081"
4547
# If the type of the service is NodePort a port can be specified using the nodePort field
4648
# If the nodePort field is not specified, or if it has no value, then a random port is used
4749
# notePort: 32521

charts/postgres-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
name: postgres-operator
3-
version: 1.4.0
4-
appVersion: 1.4.0
3+
version: 1.5.0
4+
appVersion: 1.5.0
55
home: https://github.com/zalando/postgres-operator
66
description: Postgres Operator creates and manages PostgreSQL clusters running in Kubernetes
77
keywords:

charts/postgres-operator/index.yaml

Lines changed: 11 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ apiVersion: v1
22
entries:
33
postgres-operator:
44
- apiVersion: v1
5-
appVersion: 1.4.0
6-
created: "2020-02-20T17:39:25.443276193+01:00"
5+
appVersion: 1.5.0
6+
created: "2020-05-04T16:36:19.646719041+02:00"
77
description: Postgres Operator creates and manages PostgreSQL clusters running
88
in Kubernetes
9-
digest: b93ccde5581deb8ed0857136b8ce74ca3f1b7240438fa4415f705764a1300bed
9+
digest: 43510e4ed7005b2b80708df24cfbb0099b263b4a2954cff4e8f305543760be6d
1010
home: https://github.com/zalando/postgres-operator
1111
keywords:
1212
- postgres
@@ -21,36 +21,14 @@ entries:
2121
sources:
2222
- https://github.com/zalando/postgres-operator
2323
urls:
24-
- postgres-operator-1.4.0.tgz
25-
version: 1.4.0
24+
- postgres-operator-1.5.0.tgz
25+
version: 1.5.0
2626
- apiVersion: v1
27-
appVersion: 1.3.0
28-
created: "2020-02-20T17:39:25.441532163+01:00"
29-
description: Postgres Operator creates and manages PostgreSQL clusters running
30-
in Kubernetes
31-
digest: 7e788fd37daec76a01f6d6f9fe5be5b54f5035e4eba0041e80a760d656537325
32-
home: https://github.com/zalando/postgres-operator
33-
keywords:
34-
- postgres
35-
- operator
36-
- cloud-native
37-
- patroni
38-
- spilo
39-
maintainers:
40-
- email: opensource@zalando.de
41-
name: Zalando
42-
name: postgres-operator
43-
sources:
44-
- https://github.com/zalando/postgres-operator
45-
urls:
46-
- postgres-operator-1.3.0.tgz
47-
version: 1.3.0
48-
- apiVersion: v1
49-
appVersion: 1.2.0
50-
created: "2020-02-20T17:39:25.440278302+01:00"
27+
appVersion: 1.4.0
28+
created: "2020-05-04T16:36:19.645338751+02:00"
5129
description: Postgres Operator creates and manages PostgreSQL clusters running
5230
in Kubernetes
53-
digest: d10710c7cf19f4e266e7704f5d1e98dcfc61bee3919522326c35c22ca7d2f2bf
31+
digest: f8b90fecfc3cb825b94ed17edd9d5cefc36ae61801d4568597b4a79bcd73b2e9
5432
home: https://github.com/zalando/postgres-operator
5533
keywords:
5634
- postgres
@@ -61,12 +39,10 @@ entries:
6139
maintainers:
6240
- email: opensource@zalando.de
6341
name: Zalando
64-
- email: kgyoo8232@gmail.com
65-
name: kimxogus
6642
name: postgres-operator
6743
sources:
6844
- https://github.com/zalando/postgres-operator
6945
urls:
70-
- postgres-operator-1.2.0.tgz
71-
version: 1.2.0
72-
generated: "2020-02-20T17:39:25.439168098+01:00"
46+
- postgres-operator-1.4.0.tgz
47+
version: 1.4.0
48+
generated: "2020-05-04T16:36:19.643857452+02:00"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

charts/postgres-operator/values-crd.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
image:
22
registry: registry.opensource.zalan.do
33
repository: acid/postgres-operator
4-
tag: v1.4.0
4+
tag: v1.5.0
55
pullPolicy: "IfNotPresent"
66

77
# Optionally specify an array of imagePullSecrets.
@@ -28,7 +28,7 @@ configGeneral:
2828
# Select if setup uses endpoints (default), or configmaps to manage leader (DCS=k8s)
2929
# kubernetes_use_configmaps: false
3030
# Spilo docker image
31-
docker_image: registry.opensource.zalan.do/acid/spilo-cdp-12:1.6-p115
31+
docker_image: registry.opensource.zalan.do/acid/spilo-12:1.6-p3
3232
# max number of instances in Postgres cluster. -1 = no limit
3333
min_instances: -1
3434
# min number of instances in Postgres cluster. -1 = no limit
@@ -67,7 +67,7 @@ configKubernetes:
6767
# keya: valuea
6868
# keyb: valueb
6969

70-
# list of annotations propagated from cluster manifest to statefulset and deployment
70+
# list of annotations propagated from cluster manifest to statefulset and deployment
7171
# downscaler_annotations:
7272
# - deployment-time
7373
# - downscaler/*
@@ -214,7 +214,7 @@ configAwsOrGcp:
214214
# configure K8s cron job managed by the operator
215215
configLogicalBackup:
216216
# image for pods of the logical backup job (example runs pg_dumpall)
217-
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup"
217+
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:master-58"
218218
# S3 Access Key ID
219219
logical_backup_s3_access_key_id: ""
220220
# S3 bucket to store backup results
@@ -265,7 +265,7 @@ configConnectionPooler:
265265
# db user for pooler to use
266266
connection_pooler_user: "pooler"
267267
# docker image
268-
connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer"
268+
connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer:master-7"
269269
# max db connections the pooler should hold
270270
connection_pooler_max_db_connections: 60
271271
# default pooling mode

charts/postgres-operator/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
image:
22
registry: registry.opensource.zalan.do
33
repository: acid/postgres-operator
4-
tag: v1.4.0
4+
tag: v1.5.0
55
pullPolicy: "IfNotPresent"
66

77
# Optionally specify an array of imagePullSecrets.
@@ -28,7 +28,7 @@ configGeneral:
2828
# Select if setup uses endpoints (default), or configmaps to manage leader (DCS=k8s)
2929
# kubernetes_use_configmaps: "false"
3030
# Spilo docker image
31-
docker_image: registry.opensource.zalan.do/acid/spilo-cdp-12:1.6-p115
31+
docker_image: registry.opensource.zalan.do/acid/spilo-12:1.6-p3
3232
# max number of instances in Postgres cluster. -1 = no limit
3333
min_instances: "-1"
3434
# min number of instances in Postgres cluster. -1 = no limit
@@ -203,7 +203,7 @@ configAwsOrGcp:
203203
# configure K8s cron job managed by the operator
204204
configLogicalBackup:
205205
# image for pods of the logical backup job (example runs pg_dumpall)
206-
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup"
206+
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:master-58"
207207
# S3 Access Key ID
208208
logical_backup_s3_access_key_id: ""
209209
# S3 bucket to store backup results
@@ -257,7 +257,7 @@ configConnectionPooler:
257257
# db user for pooler to use
258258
connection_pooler_user: "pooler"
259259
# docker image
260-
connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer"
260+
connection_pooler_image: "registry.opensource.zalan.do/acid/pgbouncer:master-7"
261261
# max db connections the pooler should hold
262262
connection_pooler_max_db_connections: "60"
263263
# default pooling mode

docs/index.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ in some overarching orchestration, like rolling updates to improve the user
3737
experience.
3838

3939
Monitoring or tuning Postgres is not in scope of the operator in the current
40-
state. Other tools like [ZMON](https://opensource.zalando.com/zmon/),
41-
[Prometheus](https://prometheus.io/) or more Postgres specific options can be
42-
used to complement it.
40+
state. However, with globally configurable sidecars we provide enough
41+
flexibility to complement it with other tools like [ZMON](https://opensource.zalando.com/zmon/),
42+
[Prometheus](https://prometheus.io/) or more Postgres specific options.
43+
4344

4445
## Overview of involved entities
4546

@@ -70,12 +71,26 @@ Please, report any issues discovered to https://github.com/zalando/postgres-oper
7071

7172
## Talks
7273

73-
1. "Building your own PostgreSQL-as-a-Service on Kubernetes" talk by Alexander Kukushkin, KubeCon NA 2018: [video](https://www.youtube.com/watch?v=G8MnpkbhClc) | [slides](https://static.sched.com/hosted_files/kccna18/1d/Building%20your%20own%20PostgreSQL-as-a-Service%20on%20Kubernetes.pdf)
74+
- "PostgreSQL on K8S at Zalando: Two years in production" talk by Alexander Kukushkin, FOSSDEM 2020: [video](https://fosdem.org/2020/schedule/event/postgresql_postgresql_on_k8s_at_zalando_two_years_in_production/) | [slides](https://fosdem.org/2020/schedule/event/postgresql_postgresql_on_k8s_at_zalando_two_years_in_production/attachments/slides/3883/export/events/attachments/postgresql_postgresql_on_k8s_at_zalando_two_years_in_production/slides/3883/PostgreSQL_on_K8s_at_Zalando_Two_years_in_production.pdf)
75+
76+
- "Postgres as a Service at Zalando" talk by Jan Mußler, DevOpsDays Poznań 2019: [video](https://www.youtube.com/watch?v=FiWS5m72XI8)
77+
78+
- "Building your own PostgreSQL-as-a-Service on Kubernetes" talk by Alexander Kukushkin, KubeCon NA 2018: [video](https://www.youtube.com/watch?v=G8MnpkbhClc) | [slides](https://static.sched.com/hosted_files/kccna18/1d/Building%20your%20own%20PostgreSQL-as-a-Service%20on%20Kubernetes.pdf)
79+
80+
- "PostgreSQL and Kubernetes: DBaaS without a vendor-lock" talk by Oleksii Kliukin, PostgreSQL Sessions 2018: [video](https://www.youtube.com/watch?v=q26U2rQcqMw) | [slides](https://speakerdeck.com/alexeyklyukin/postgresql-and-kubernetes-dbaas-without-a-vendor-lock)
81+
82+
- "PostgreSQL High Availability on Kubernetes with Patroni" talk by Oleksii Kliukin, Atmosphere 2018: [video](https://www.youtube.com/watch?v=cFlwQOPPkeg) | [slides](https://speakerdeck.com/alexeyklyukin/postgresql-high-availability-on-kubernetes-with-patroni)
83+
84+
- "Blue elephant on-demand: Postgres + Kubernetes" talk by Oleksii Kliukin and Jan Mussler, FOSDEM 2018: [video](https://fosdem.org/2018/schedule/event/blue_elephant_on_demand_postgres_kubernetes/) | [slides (pdf)](https://www.postgresql.eu/events/fosdem2018/sessions/session/1735/slides/59/FOSDEM%202018_%20Blue_Elephant_On_Demand.pdf)
85+
86+
- "Kube-Native Postgres" talk by Josh Berkus, KubeCon 2017: [video](https://www.youtube.com/watch?v=Zn1vd7sQ_bc)
87+
88+
## Posts
7489

75-
2. "PostgreSQL and Kubernetes: DBaaS without a vendor-lock" talk by Oleksii Kliukin, PostgreSQL Sessions 2018: [video](https://www.youtube.com/watch?v=q26U2rQcqMw) | [slides](https://speakerdeck.com/alexeyklyukin/postgresql-and-kubernetes-dbaas-without-a-vendor-lock)
90+
- "How to set up continuous backups and monitoring" by Pål Kristensen on [GitHub](https://github.com/zalando/postgres-operator/issues/858#issuecomment-608136253), Mar. 2020.
7691

77-
3. "PostgreSQL High Availability on Kubernetes with Patroni" talk by Oleksii Kliukin, Atmosphere 2018: [video](https://www.youtube.com/watch?v=cFlwQOPPkeg) | [slides](https://speakerdeck.com/alexeyklyukin/postgresql-high-availability-on-kubernetes-with-patroni)
92+
- "Postgres on Kubernetes with the Zalando operator" by Vito Botta on [has_many :code](https://vitobotta.com/2020/02/05/postgres-kubernetes-zalando-operator/), Feb. 2020.
7893

79-
4. "Blue elephant on-demand: Postgres + Kubernetes" talk by Oleksii Kliukin and Jan Mussler, FOSDEM 2018: [video](https://fosdem.org/2018/schedule/event/blue_elephant_on_demand_postgres_kubernetes/) | [slides (pdf)](https://www.postgresql.eu/events/fosdem2018/sessions/session/1735/slides/59/FOSDEM%202018_%20Blue_Elephant_On_Demand.pdf)
94+
- "Running PostgreSQL in Google Kubernetes Engine" by Kenneth Rørvik on [Repill Linpro](https://www.redpill-linpro.com/techblog/2019/09/28/postgres-in-kubernetes.html), Sep. 2019.
8095

81-
5. "Kube-Native Postgres" talk by Josh Berkus, KubeCon 2017: [video](https://www.youtube.com/watch?v=Zn1vd7sQ_bc)
96+
- "Zalando Postgres Operator: One Year Later" by Sergey Dudoladov on [Open Source Zalando](https://opensource.zalando.com/blog/2018/11/postgres-operator/), Nov. 2018

manifests/complete-postgres-manifest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
# annotations:
88
# "acid.zalan.do/controller": "second-operator"
99
spec:
10-
dockerImage: registry.opensource.zalan.do/acid/spilo-cdp-12:1.6-p115
10+
dockerImage: registry.opensource.zalan.do/acid/spilo-12:1.6-p3
1111
teamId: "acid"
1212
numberOfInstances: 2
1313
users: # Application/Robot users

manifests/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ data:
2929
# default_cpu_request: 100m
3030
# default_memory_limit: 500Mi
3131
# default_memory_request: 100Mi
32-
docker_image: registry.opensource.zalan.do/acid/spilo-cdp-12:1.6-p115
32+
docker_image: registry.opensource.zalan.do/acid/spilo-12:1.6-p3
3333
# downscaler_annotations: "deployment-time,downscaler/*"
3434
# enable_admin_role_for_users: "true"
3535
# enable_crd_validation: "true"

manifests/postgres-operator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
serviceAccountName: postgres-operator
1616
containers:
1717
- name: postgres-operator
18-
image: registry.opensource.zalan.do/acid/postgres-operator:v1.4.0
18+
image: registry.opensource.zalan.do/acid/postgres-operator:v1.5.0
1919
imagePullPolicy: IfNotPresent
2020
resources:
2121
requests:

manifests/postgresql-operator-default-configuration.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: OperatorConfiguration
33
metadata:
44
name: postgresql-operator-default-configuration
55
configuration:
6-
docker_image: registry.opensource.zalan.do/acid/spilo-cdp-12:1.6-p115
6+
docker_image: registry.opensource.zalan.do/acid/spilo-12:1.6-p3
77
# enable_crd_validation: true
88
# enable_lazy_spilo_upgrade: false
99
# enable_shm_volume: true
@@ -92,7 +92,7 @@ configuration:
9292
# log_s3_bucket: ""
9393
# wal_s3_bucket: ""
9494
logical_backup:
95-
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup"
95+
logical_backup_docker_image: "registry.opensource.zalan.do/acid/logical-backup:master-58"
9696
# logical_backup_s3_access_key_id: ""
9797
logical_backup_s3_bucket: "my-bucket-url"
9898
# logical_backup_s3_endpoint: ""

pkg/controller/operator_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func (c *Controller) importConfigurationFromCRD(fromCRD *acidv1.OperatorConfigur
3737
result.EnableLazySpiloUpgrade = fromCRD.EnableLazySpiloUpgrade
3838
result.EtcdHost = fromCRD.EtcdHost
3939
result.KubernetesUseConfigMaps = fromCRD.KubernetesUseConfigMaps
40-
result.DockerImage = util.Coalesce(fromCRD.DockerImage, "registry.opensource.zalan.do/acid/spilo-cdp-12:1.6-p115")
40+
result.DockerImage = util.Coalesce(fromCRD.DockerImage, "registry.opensource.zalan.do/acid/spilo-12:1.6-p3")
4141
result.Workers = fromCRD.Workers
4242
result.MinInstances = fromCRD.MinInstances
4343
result.MaxInstances = fromCRD.MaxInstances

pkg/util/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ type Config struct {
112112
WatchedNamespace string `name:"watched_namespace"` // special values: "*" means 'watch all namespaces', the empty string "" means 'watch a namespace where operator is deployed to'
113113
KubernetesUseConfigMaps bool `name:"kubernetes_use_configmaps" default:"false"`
114114
EtcdHost string `name:"etcd_host" default:""` // special values: the empty string "" means Patroni will use K8s as a DCS
115-
DockerImage string `name:"docker_image" default:"registry.opensource.zalan.do/acid/spilo-cdp-12:1.6-p115"`
115+
DockerImage string `name:"docker_image" default:"registry.opensource.zalan.do/acid/spilo-12:1.6-p3"`
116116
// deprecated in favour of SidecarContainers
117117
SidecarImages map[string]string `name:"sidecar_docker_images"`
118118
SidecarContainers []v1.Container `name:"sidecars"`

ui/manifests/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
serviceAccountName: postgres-operator-ui
2121
containers:
2222
- name: "service"
23-
image: registry.opensource.zalan.do/acid/postgres-operator-ui:v1.4.0
23+
image: registry.opensource.zalan.do/acid/postgres-operator-ui:v1.5.0
2424
ports:
2525
- containerPort: 8081
2626
protocol: "TCP"

0 commit comments

Comments
 (0)