Skip to content

Commit

Permalink
Release edb-postgres-for-kubernetes-v0.21.3 (#162)
Browse files Browse the repository at this point in the history
Signed-off-by: Tao Li <[email protected]>
Co-authored-by: Tao Li <[email protected]>
  • Loading branch information
github-actions[bot] and litaocdl authored Aug 1, 2024
1 parent 2487bdc commit 91cc41b
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 10 deletions.
4 changes: 2 additions & 2 deletions charts/edb-postgres-for-kubernetes/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ name: edb-postgres-for-kubernetes
description: EDB Postgres for Kubernetes Helm Chart
icon: https://www.enterprisedb.com/themes/custom/edb_bootstrap_sass/edb-logo-disc-dark-2.svg
type: application
version: "0.21.2"
version: "0.21.3"
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.23.2"
appVersion: "1.23.3"
sources:
- https://github.com/EnterpriseDB/edb-postgres-for-kubernetes-charts
keywords:
Expand Down
4 changes: 2 additions & 2 deletions charts/edb-postgres-for-kubernetes/README.md

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions charts/edb-postgres-for-kubernetes/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -394,18 +394,14 @@ Define the set of rules that must be applied clusterwide
- mutatingwebhookconfigurations
verbs:
- get
- list
- patch
- update
- apiGroups:
- admissionregistration.k8s.io
resources:
- validatingwebhookconfigurations
verbs:
- get
- list
- patch
- update
- apiGroups:
- apiextensions.k8s.io
resources:
Expand Down
5 changes: 3 additions & 2 deletions charts/edb-postgres-for-kubernetes/templates/crds/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15151,11 +15151,12 @@ spec:
method:
default: barmanObjectStore
description: |-
The backup method to be used, possible options are `barmanObjectStore`
and `volumeSnapshot`. Defaults to: `barmanObjectStore`.
The backup method to be used, possible options are `barmanObjectStore`,
`volumeSnapshot` or `plugin`. Defaults to: `barmanObjectStore`.
enum:
- barmanObjectStore
- volumeSnapshot
- plugin
type: string
online:
description: |-
Expand Down
66 changes: 66 additions & 0 deletions charts/edb-postgres-for-kubernetes/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ monitoringQueriesConfigMap:
, pg_catalog.age(datfrozenxid) AS xid_age
, pg_catalog.mxid_age(datminmxid) AS mxid_age
FROM pg_catalog.pg_database
WHERE datallowconn
metrics:
- datname:
usage: "LABEL"
Expand Down Expand Up @@ -390,6 +391,71 @@ monitoringQueriesConfigMap:
usage: "COUNTER"
description: "Number of buffers allocated"
pg_stat_bgwriter_17:
runonserver: ">=17.0.0"
name: pg_stat_bgwriter
query: |
SELECT buffers_clean
, maxwritten_clean
, buffers_alloc
, EXTRACT(EPOCH FROM stats_reset) AS stats_reset_time
FROM pg_catalog.pg_stat_bgwriter
metrics:
- buffers_clean:
usage: "COUNTER"
description: "Number of buffers written by the background writer"
- maxwritten_clean:
usage: "COUNTER"
description: "Number of times the background writer stopped a cleaning scan because it had written too many buffers"
- buffers_alloc:
usage: "COUNTER"
description: "Number of buffers allocated"
- stats_reset_time:
usage: "GAUGE"
description: "Time at which these statistics were last reset"
pg_stat_checkpointer:
runonserver: ">=17.0.0"
query: |
SELECT num_timed AS checkpoints_timed
, num_requested AS checkpoints_req
, restartpoints_timed
, restartpoints_req
, restartpoints_done
, write_time
, sync_time
, buffers_written
, EXTRACT(EPOCH FROM stats_reset) AS stats_reset_time
FROM pg_catalog.pg_stat_checkpointer
metrics:
- checkpoints_timed:
usage: "COUNTER"
description: "Number of scheduled checkpoints that have been performed"
- checkpoints_req:
usage: "COUNTER"
description: "Number of requested checkpoints that have been performed"
- restartpoints_timed:
usage: "COUNTER"
description: "Number of scheduled restartpoints due to timeout or after a failed attempt to perform it"
- restartpoints_req:
usage: "COUNTER"
description: "Number of requested restartpoints that have been performed"
- restartpoints_done:
usage: "COUNTER"
description: "Number of restartpoints that have been performed"
- write_time:
usage: "COUNTER"
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"
- sync_time:
usage: "COUNTER"
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"
- buffers_written:
usage: "COUNTER"
description: "Number of buffers written during checkpoints and restartpoints"
- stats_reset_time:
usage: "GAUGE"
description: "Time at which these statistics were last reset"
pg_stat_database:
query: |
SELECT datname
Expand Down

0 comments on commit 91cc41b

Please sign in to comment.