Skip to content

Commit 91cc41b

Browse files
Release edb-postgres-for-kubernetes-v0.21.3 (#162)
Signed-off-by: Tao Li <tao.li@enterprisedb.com> Co-authored-by: Tao Li <tao.li@enterprisedb.com>
1 parent 2487bdc commit 91cc41b

File tree

5 files changed

+73
-10
lines changed

5 files changed

+73
-10
lines changed

charts/edb-postgres-for-kubernetes/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ name: edb-postgres-for-kubernetes
1717
description: EDB Postgres for Kubernetes Helm Chart
1818
icon: https://www.enterprisedb.com/themes/custom/edb_bootstrap_sass/edb-logo-disc-dark-2.svg
1919
type: application
20-
version: "0.21.2"
20+
version: "0.21.3"
2121
# This is the version number of the application being deployed. This version number should be
2222
# incremented each time you make changes to the application. Versions are not expected to
2323
# follow Semantic Versioning. They should reflect the version the application is using.
2424
# It is recommended to use it with quotes.
25-
appVersion: "1.23.2"
25+
appVersion: "1.23.3"
2626
sources:
2727
- https://github.com/EnterpriseDB/edb-postgres-for-kubernetes-charts
2828
keywords:

charts/edb-postgres-for-kubernetes/README.md

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

charts/edb-postgres-for-kubernetes/templates/_helpers.tpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -394,18 +394,14 @@ Define the set of rules that must be applied clusterwide
394394
- mutatingwebhookconfigurations
395395
verbs:
396396
- get
397-
- list
398397
- patch
399-
- update
400398
- apiGroups:
401399
- admissionregistration.k8s.io
402400
resources:
403401
- validatingwebhookconfigurations
404402
verbs:
405403
- get
406-
- list
407404
- patch
408-
- update
409405
- apiGroups:
410406
- apiextensions.k8s.io
411407
resources:

charts/edb-postgres-for-kubernetes/templates/crds/crds.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15151,11 +15151,12 @@ spec:
1515115151
method:
1515215152
default: barmanObjectStore
1515315153
description: |-
15154-
The backup method to be used, possible options are `barmanObjectStore`
15155-
and `volumeSnapshot`. Defaults to: `barmanObjectStore`.
15154+
The backup method to be used, possible options are `barmanObjectStore`,
15155+
`volumeSnapshot` or `plugin`. Defaults to: `barmanObjectStore`.
1515615156
enum:
1515715157
- barmanObjectStore
1515815158
- volumeSnapshot
15159+
- plugin
1515915160
type: string
1516015161
online:
1516115162
description: |-

charts/edb-postgres-for-kubernetes/values.yaml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ monitoringQueriesConfigMap:
227227
, pg_catalog.age(datfrozenxid) AS xid_age
228228
, pg_catalog.mxid_age(datminmxid) AS mxid_age
229229
FROM pg_catalog.pg_database
230+
WHERE datallowconn
230231
metrics:
231232
- datname:
232233
usage: "LABEL"
@@ -390,6 +391,71 @@ monitoringQueriesConfigMap:
390391
usage: "COUNTER"
391392
description: "Number of buffers allocated"
392393
394+
pg_stat_bgwriter_17:
395+
runonserver: ">=17.0.0"
396+
name: pg_stat_bgwriter
397+
query: |
398+
SELECT buffers_clean
399+
, maxwritten_clean
400+
, buffers_alloc
401+
, EXTRACT(EPOCH FROM stats_reset) AS stats_reset_time
402+
FROM pg_catalog.pg_stat_bgwriter
403+
metrics:
404+
- buffers_clean:
405+
usage: "COUNTER"
406+
description: "Number of buffers written by the background writer"
407+
- maxwritten_clean:
408+
usage: "COUNTER"
409+
description: "Number of times the background writer stopped a cleaning scan because it had written too many buffers"
410+
- buffers_alloc:
411+
usage: "COUNTER"
412+
description: "Number of buffers allocated"
413+
- stats_reset_time:
414+
usage: "GAUGE"
415+
description: "Time at which these statistics were last reset"
416+
417+
pg_stat_checkpointer:
418+
runonserver: ">=17.0.0"
419+
query: |
420+
SELECT num_timed AS checkpoints_timed
421+
, num_requested AS checkpoints_req
422+
, restartpoints_timed
423+
, restartpoints_req
424+
, restartpoints_done
425+
, write_time
426+
, sync_time
427+
, buffers_written
428+
, EXTRACT(EPOCH FROM stats_reset) AS stats_reset_time
429+
FROM pg_catalog.pg_stat_checkpointer
430+
metrics:
431+
- checkpoints_timed:
432+
usage: "COUNTER"
433+
description: "Number of scheduled checkpoints that have been performed"
434+
- checkpoints_req:
435+
usage: "COUNTER"
436+
description: "Number of requested checkpoints that have been performed"
437+
- restartpoints_timed:
438+
usage: "COUNTER"
439+
description: "Number of scheduled restartpoints due to timeout or after a failed attempt to perform it"
440+
- restartpoints_req:
441+
usage: "COUNTER"
442+
description: "Number of requested restartpoints that have been performed"
443+
- restartpoints_done:
444+
usage: "COUNTER"
445+
description: "Number of restartpoints that have been performed"
446+
- write_time:
447+
usage: "COUNTER"
448+
description: "Total amount of time that has been spent in the portion of processing checkpoints and restartpoints where files are written to disk, in milliseconds"
449+
- sync_time:
450+
usage: "COUNTER"
451+
description: "Total amount of time that has been spent in the portion of processing checkpoints and restartpoints where files are synchronized to disk, in milliseconds"
452+
- buffers_written:
453+
usage: "COUNTER"
454+
description: "Number of buffers written during checkpoints and restartpoints"
455+
- stats_reset_time:
456+
usage: "GAUGE"
457+
description: "Time at which these statistics were last reset"
458+
393459
pg_stat_database:
394460
query: |
395461
SELECT datname

0 commit comments

Comments
 (0)