# Percona Operator for PostgreSQL

**URL:** https://forums.percona.com/c/postgresql/percona-kubernetes-operator-for-postgresql/68.md?page=3

[Latest](https://forums.percona.com/latest.md) · [Categories](https://forums.percona.com/categories.md) · [Tags](https://forums.percona.com/tags.md)

**Page:** 4

---

## [Recreate a pgbackrest stanza for an existing cluster PGOv1.2](https://forums.percona.com/t/recreate-a-pgbackrest-stanza-for-an-existing-cluster-pgov1-2/26106)

<div class="topic-metadata">

**Author:** [@Sergey\_Zhuravlev](https://forums.percona.com/u/Sergey_Zhuravlev)\
**Replies:** 2\
**Last updated:** [October 24, 2023, 2:03pm UTC](https://forums.percona.com/t/recreate-a-pgbackrest-stanza-for-an-existing-cluster-pgov1-2/26106 "2023-10-24T14:03:45Z")

</div>

mistakenly deleted data in the directory on /backrestrepo/nsi-backrest-shared-repo/backup/db/ the stanza ceased to exist bash-4.4$ pgbackrest info stanza: db status: error (missing stanza data) cipher: none I…

---

## [Citus wants to be the first in the line with shared\_preload\_libraries in postgresql.conf](https://forums.percona.com/t/citus-wants-to-be-the-first-in-the-line-with-shared-preload-libraries-in-postgresql-conf/25780)

<div class="topic-metadata">

**Author:** [@Sergey\_Zhuravlev](https://forums.percona.com/u/Sergey_Zhuravlev)\
**Replies:** 4\
**Last updated:** [October 11, 2023, 7:59am UTC](https://forums.percona.com/t/citus-wants-to-be-the-first-in-the-line-with-shared-preload-libraries-in-postgresql-conf/25780 "2023-10-11T07:59:04Z")

</div>

Description: citus wants to be the first in the line with shared\_preload\_libraries in postgresql.conf and if this is not so, then the PG does not start with such a message: 2023-10-09 14:06:16,761 INFO: starting as a s…

---

## [Creating custom roles for users](https://forums.percona.com/t/creating-custom-roles-for-users/25359)

<div class="topic-metadata">

**Author:** [@Arnout\_Hoebreckx](https://forums.percona.com/u/Arnout_Hoebreckx)\
**Replies:** 2\
**Last updated:** [September 28, 2023, 1:06pm UTC](https://forums.percona.com/t/creating-custom-roles-for-users/25359 "2023-09-28T13:06:40Z")

</div>

Description: Hi, We’ve got an idea to create a read-only, write/update and schema (superuser). The latter is quite easy and supported however I don’t see exactly how I should go about creating the other 2 roles in the O…

---

## [Pg\_wal is filling up disk](https://forums.percona.com/t/pg-wal-is-filling-up-disk/24908)

<div class="topic-metadata">

**Author:** [@martin.schack](https://forums.percona.com/u/martin.schack)\
**Replies:** 5\
**Last updated:** [September 22, 2023, 1:43pm UTC](https://forums.percona.com/t/pg-wal-is-filling-up-disk/24908 "2023-09-22T13:43:38Z")

</div>

Description: Our /pgdata directory is getting 100% full when data is loaded to the database. The disks are ~200G in size, which is fine for the database, but with the initial load pg\_wal fills up the disk to 100%. pg\_w…

---

## [Docs v2.2 backups wrong apiVersion](https://forums.percona.com/t/docs-v2-2-backups-wrong-apiversion/24360)

<div class="topic-metadata">

**Author:** [@Sergey\_Zhuravlev](https://forums.percona.com/u/Sergey_Zhuravlev)\
**Replies:** 1\
**Last updated:** [September 11, 2023, 5:40pm UTC](https://forums.percona.com/t/docs-v2-2-backups-wrong-apiversion/24360 "2023-09-11T17:40:04Z")

</div>

on the page s:pg.percona.com/v2beta1:pgv2.percona.com/v2:

---

## [Disable backups altogether for Percona PostgreSQL](https://forums.percona.com/t/disable-backups-altogether-for-percona-postgresql/24577)

<div class="topic-metadata">

**Author:** [@Marios\_Cako](https://forums.percona.com/u/Marios_Cako)\
**Replies:** 2\
**Last updated:** [September 11, 2023, 5:34pm UTC](https://forums.percona.com/t/disable-backups-altogether-for-percona-postgresql/24577 "2023-09-11T17:34:52Z")

</div>

Description: I would like to be able to disable the backups altogether for the Percona PostgreSQL Operator. I am able to disable the scheduled backups, however I am forced to provide a repo (e.g., a volume), for the init…

---

## [It is not possible to restore the database in place (new feature of version v2.2 using a cr.yaml)](https://forums.percona.com/t/it-is-not-possible-to-restore-the-database-in-place-new-feature-of-version-v2-2-using-a-cr-yaml/24390)

<div class="topic-metadata">

**Author:** [@Sergey\_Zhuravlev](https://forums.percona.com/u/Sergey_Zhuravlev)\
**Replies:** 1\
**Last updated:** [September 11, 2023, 5:29pm UTC](https://forums.percona.com/t/it-is-not-possible-to-restore-the-database-in-place-new-feature-of-version-v2-2-using-a-cr-yaml/24390 "2023-09-11T17:29:27Z")

</div>

Hi! and there seems to be an inaccuracy in the documentation The documentation says: restore in-place, to an existing cluster (note that this is destructive) using the backups.restore subsection. link leads to here: …

---

## [Operator shuts down leader pod when setting standby count to 0](https://forums.percona.com/t/operator-shuts-down-leader-pod-when-setting-standby-count-to-0/24848)

<div class="topic-metadata">

**Author:** [@Ma\_G](https://forums.percona.com/u/Ma_G)\
**Replies:** 3\
**Last updated:** [September 11, 2023, 5:18pm UTC](https://forums.percona.com/t/operator-shuts-down-leader-pod-when-setting-standby-count-to-0/24848 "2023-09-11T17:18:52Z")

</div>

Description: I am using the Percona PostgreSQL operator 1.4. I have observed that when I set the standby count from 2 to 0 the operator always stops the pods with the name \<pod\_name\>-repl1 and \<pod\_name\>-repl2, and leave…

---

## [How to add source IP filtering to the exposed LoadBalancer service](https://forums.percona.com/t/how-to-add-source-ip-filtering-to-the-exposed-loadbalancer-service/25060)

<div class="topic-metadata">

**Author:** [@gmautner](https://forums.percona.com/u/gmautner)\
**Replies:** 2\
**Last updated:** [September 11, 2023, 5:16pm UTC](https://forums.percona.com/t/how-to-add-source-ip-filtering-to-the-exposed-loadbalancer-service/25060 "2023-09-11T17:16:47Z")

</div>

In the Percona Operator for MySQL Based on Percona XtraDB Cluster there is a configuration called loadBalancerSourceRanges which allows to filter based on origin IP at the load balancer level. Is there an equivalent way…

---

## [I am creating percona postgres operator and cluster is showing initializing from long time](https://forums.percona.com/t/i-am-creating-percona-postgres-operator-and-cluster-is-showing-initializing-from-long-time/24588)

<div class="topic-metadata">

**Author:** [@aws\_learning](https://forums.percona.com/u/aws_learning)\
**Replies:** 1\
**Last updated:** [September 4, 2023, 8:06am UTC](https://forums.percona.com/t/i-am-creating-percona-postgres-operator-and-cluster-is-showing-initializing-from-long-time/24588 "2023-09-04T08:06:35Z")

</div>

\[root@master-sk percona-postgresql-operator\]# kubectl get pg -n postgres-operator NAME ENDPOINT STATUS POSTGRES PGBOUNCER AGE cluster1 cluster1-pgbouncer.postgres-o…

---

## [Postgres operator is failling when running a manual backup](https://forums.percona.com/t/postgres-operator-is-failling-when-running-a-manual-backup/24663)

<div class="topic-metadata">

**Author:** [@ben\_goldenberg](https://forums.percona.com/u/ben_goldenberg)\
**Replies:** 1\
**Last updated:** [September 4, 2023, 8:03am UTC](https://forums.percona.com/t/postgres-operator-is-failling-when-running-a-manual-backup/24663 "2023-09-04T08:03:52Z")

</div>

Description: when i run the on demand backup as mentioned in the docs. the operator is falling. time=“2023-08-24T15:19:53Z” level=info msg=“Starting workers” controller=perconapgbackup controllerGroup=pgv2.percona.com …

---

## [Apps can't connect to database - DNS lookup issue](https://forums.percona.com/t/apps-cant-connect-to-database-dns-lookup-issue/24421)

<div class="topic-metadata">

**Author:** [@Slavisa\_Milojkovic](https://forums.percona.com/u/Slavisa_Milojkovic)\
**Replies:** 3\
**Last updated:** [August 15, 2023, 8:43am UTC](https://forums.percona.com/t/apps-cant-connect-to-database-dns-lookup-issue/24421 "2023-08-15T08:43:27Z")

</div>

Description: We had dns failure which was restored and now apps can’t connect to postgres dbs. These are the logs 2023-08-13 18:26:16.593 UTC \[8\] WARNING C-0x5646eb355bf0: (nodb)/(nouser)@10.42.125.222:59178 pooler erro…

---

## [V2.2 not work pgbackrest](https://forums.percona.com/t/v2-2-not-work-pgbackrest/24267)

<div class="topic-metadata">

**Author:** [@Sergey\_Zhuravlev](https://forums.percona.com/u/Sergey_Zhuravlev)\
**Replies:** 3\
**Last updated:** [August 8, 2023, 11:35am UTC](https://forums.percona.com/t/v2-2-not-work-pgbackrest/24267 "2023-08-08T11:35:47Z")

</div>

Description: I deploy a cluster where only the master without replicas. Apparently in this case, a stanza is not created. (???) In the logs of the operator there are such entries: time="2023-08-07T10:55:26Z" level=deb…

---

## [Helm installation fails to start patroni cluster](https://forums.percona.com/t/helm-installation-fails-to-start-patroni-cluster/23503)

<div class="topic-metadata">

**Author:** [@rzc96133](https://forums.percona.com/u/rzc96133)\
**Replies:** 3\
**Last updated:** [August 3, 2023, 8:37am UTC](https://forums.percona.com/t/helm-installation-fails-to-start-patroni-cluster/23503 "2023-08-03T08:37:16Z")

</div>

Description: cluster installed via helm fails to start patroni cluster Steps to Reproduce: helm -n test upgrade --create-namespace --install pgsql-operator percona/pg-operator --version 2.2.0 --wait helm -n test upgrade…

---

## [Docker image for Percona PostgreSQL distribution for Percona operator](https://forums.percona.com/t/docker-image-for-percona-postgresql-distribution-for-percona-operator/23785)

<div class="topic-metadata">

**Author:** [@Marios\_Cako](https://forums.percona.com/u/Marios_Cako)\
**Replies:** 4\
**Last updated:** [August 1, 2023, 11:20am UTC](https://forums.percona.com/t/docker-image-for-percona-postgresql-distribution-for-percona-operator/23785 "2023-08-01T11:20:38Z")

</div>

Hi all, I am trying to find the Dockerfile which creates the images published here Docker. I have found the percona-docker repository, and specifically the directory postgresql-containers/build/postgres-ha (https://git…

---

## [Pull from private registry](https://forums.percona.com/t/pull-from-private-registry/14996)

<div class="topic-metadata">

**Author:** [@jason123](https://forums.percona.com/u/jason123)\
**Replies:** 2\
**Last updated:** [July 27, 2023, 9:49am UTC](https://forums.percona.com/t/pull-from-private-registry/14996 "2023-07-27T09:49:56Z")

</div>

How would I be able to pull from a private registry using the percona postgresql helm chart? There is no value for imagepullsecret. I want to pull pgPrimary from a private registry. Thanks

---

## [Kubernetes api with intermediate CA not supported](https://forums.percona.com/t/kubernetes-api-with-intermediate-ca-not-supported/23601)

<div class="topic-metadata">

**Author:** [@Lenard\_Pasztor](https://forums.percona.com/u/Lenard_Pasztor)\
**Replies:** 2\
**Last updated:** [July 14, 2023, 1:54pm UTC](https://forums.percona.com/t/kubernetes-api-with-intermediate-ca-not-supported/23601 "2023-07-14T13:54:00Z")

</div>

Description: We using multiple kubernetes cluster signed by our own CA. Each cluster have ICA certificate. Since the root CA cert not trusted in postgres pod it fails to start. There is no option in the CRD to add the …

---

## [Pgbackrest restore error in Job + default restores not working](https://forums.percona.com/t/pgbackrest-restore-error-in-job-default-restores-not-working/23582)

<div class="topic-metadata">

**Author:** [@Arnout\_Hoebreckx](https://forums.percona.com/u/Arnout_Hoebreckx)\
**Replies:** 1\
**Last updated:** [July 14, 2023, 7:27am UTC](https://forums.percona.com/t/pgbackrest-restore-error-in-job-default-restores-not-working/23582 "2023-07-14T07:27:45Z")

</div>

Description: Hi, We’ve been getting the following error in our restore logs pgbackrest restore --type=default --stanza=db --pg1-path=/pgdata/pg14 --repo=1 --delta --link-map=pg\_wal=/pgdata/pg14\_wal WARN: unknown gro…

---

## [Need help with upgrade from pg-db v1.x to 2.2.0](https://forums.percona.com/t/need-help-with-upgrade-from-pg-db-v1-x-to-2-2-0/23416)

<div class="topic-metadata">

**Author:** [@Slavisa\_Milojkovic](https://forums.percona.com/u/Slavisa_Milojkovic)\
**Replies:** 1\
**Last updated:** [July 7, 2023, 12:10pm UTC](https://forums.percona.com/t/need-help-with-upgrade-from-pg-db-v1-x-to-2-2-0/23416 "2023-07-07T12:10:29Z")

</div>

Description: We have pg-db v1 cluster on production with configured s3 backup and custom pgdump pipelines and I need help with upgrading it or migrating to 2.2.0 Steps to Reproduce: Upgrade v1 cluster to 2.2.0 or migrat…

---

## [Percona postgresql | Backup and Restore |](https://forums.percona.com/t/percona-postgresql-backup-and-restore/23237)

<div class="topic-metadata">

**Author:** [@Arun\_Pandiyan1](https://forums.percona.com/u/Arun_Pandiyan1)\
**Replies:** 7\
**Last updated:** [July 6, 2023, 8:37am UTC](https://forums.percona.com/t/percona-postgresql-backup-and-restore/23237 "2023-07-06T08:37:52Z")

</div>

I am using to deploy postgres via Helm charts(v1.4.0) I am Having two issues I’m not able to take a backup as per the schedule daily wise my backrest-job is not running as well,how to debug the issue I’m not able to re…

---

## [PostgresSQL fails to trust kubernetes api certificate](https://forums.percona.com/t/postgressql-fails-to-trust-kubernetes-api-certificate/16463)

<div class="topic-metadata">

**Author:** [@Clay\_Risser](https://forums.percona.com/u/Clay_Risser)\
**Replies:** 11\
**Last updated:** [July 4, 2023, 11:06am UTC](https://forums.percona.com/t/postgressql-fails-to-trust-kubernetes-api-certificate/16463 "2023-07-04T11:06:56Z")

</div>

When I deploy postgres on a kops cluster, the api calls to the kubernetes api fail because it does not trust the kubernetes api certificate. How can I make percona postgres trust my kuberntes api certificate? Here is th…

---

## [Helm charts for installing percona/pg-db](https://forums.percona.com/t/helm-charts-for-installing-percona-pg-db/23346)

<div class="topic-metadata">

**Author:** [@suneetha\_mandala](https://forums.percona.com/u/suneetha_mandala)\
**Replies:** 0\
**Last updated:** [July 4, 2023, 10:37am UTC](https://forums.percona.com/t/helm-charts-for-installing-percona-pg-db/23346 "2023-07-04T10:37:39Z")

</div>

I am getting below error, when i tried to access db, i used helm charts for installation and i have checked the following config all are disabled state tlsmode, server\_tls\_sslmode client\_tls\_sslmode How to fix this is…

---

## [Percona Operator for PostgreSQL 2.2.0 Released](https://forums.percona.com/t/percona-operator-for-postgresql-2-2-0-released/23313)

<div class="topic-metadata">

**Author:** [@Aleksandra\_Abramova](https://forums.percona.com/u/Aleksandra_Abramova)\
**Replies:** 0\
**Last updated:** [July 3, 2023, 11:31am UTC](https://forums.percona.com/t/percona-operator-for-postgresql-2-2-0-released/23313 "2023-07-03T11:31:51Z")

</div>

June 30, 2023 - Find release notes at Percona Operator for PostgreSQL 2.2.0 (2023-06-30) - Percona Operator for PostgreSQL

---

## [Pmm-client PG replication lag and patroni metrics](https://forums.percona.com/t/pmm-client-pg-replication-lag-and-patroni-metrics/15800)

<div class="topic-metadata">

**Author:** [@Sergey\_Zhuravlev](https://forums.percona.com/u/Sergey_Zhuravlev)\
**Replies:** 8\
**Last updated:** [June 30, 2023, 2:40pm UTC](https://forums.percona.com/t/pmm-client-pg-replication-lag-and-patroni-metrics/15800 "2023-06-30T14:40:36Z")

</div>

Hi, Enabled monitoring pmm-client and install pmm-server for test. I do not see any metrics about PG replication, such as lag. As well as metrics that relate to patroni. Are they really not? I want to see the replica…

---

## [CRDs for Postgres Operator v1.4](https://forums.percona.com/t/crds-for-postgres-operator-v1-4/23183)

<div class="topic-metadata">

**Author:** [@hedgss](https://forums.percona.com/u/hedgss)\
**Replies:** 4\
**Last updated:** [June 29, 2023, 9:17am UTC](https://forums.percona.com/t/crds-for-postgres-operator-v1-4/23183 "2023-06-29T09:17:06Z")

</div>

I am trying to use Percona Postgres Operator v1.4, but this operator doesn’t have a self-descriptive CRDs. It is not possible to understand what options are available. The only thing that is available is cr.yaml Does …

---

## [SSL Required Error](https://forums.percona.com/t/ssl-required-error/23156)

<div class="topic-metadata">

**Author:** [@Satheesh\_Kumar](https://forums.percona.com/u/Satheesh_Kumar)\
**Replies:** 2\
**Last updated:** [June 28, 2023, 4:39pm UTC](https://forums.percona.com/t/ssl-required-error/23156 "2023-06-28T16:39:55Z")

</div>

I am getting below error, when i tried to access db, i used helm charts for installation and i have checked the following config all are disabled state tlsmode, server\_tls\_sslmode client\_tls\_sslmode How to fix this is…

---

## [User secret rotation Postgres Operator](https://forums.percona.com/t/user-secret-rotation-postgres-operator/22804)

<div class="topic-metadata">

**Author:** [@MichaTimmerman](https://forums.percona.com/u/MichaTimmerman)\
**Replies:** 1\
**Last updated:** [June 14, 2023, 7:32am UTC](https://forums.percona.com/t/user-secret-rotation-postgres-operator/22804 "2023-06-14T07:32:47Z")

</div>

Hi, Percona Postgres operator can auto provision Postgres user secrets. But is there a way to configure secret rotation? Also, i did test deleting the pg cluster secret. In that case the operator, does not create a ne…

---

## [Pgbackrest problem with operator 1.4.1](https://forums.percona.com/t/pgbackrest-problem-with-operator-1-4-1/21809)

<div class="topic-metadata">

**Author:** [@martin.schack](https://forums.percona.com/u/martin.schack)\
**Replies:** 3\
**Last updated:** [May 30, 2023, 5:13am UTC](https://forums.percona.com/t/pgbackrest-problem-with-operator-1-4-1/21809 "2023-05-30T05:13:41Z")

</div>

Hi All, I’m using operator 1.3.0 successfully including the backups to S3 working perfectly. However with the new 1.4.1 operator the backups no longer work. If I use the exact same YAMLs on operator 1.3.0 everything is…

---

## [Deploy perconapgcluster 1.4.0 does not create ownerReferences to pgcluster](https://forums.percona.com/t/deploy-perconapgcluster-1-4-0-does-not-create-ownerreferences-to-pgcluster/22370)

<div class="topic-metadata">

**Author:** [@edalonso](https://forums.percona.com/u/edalonso)\
**Replies:** 1\
**Last updated:** [May 29, 2023, 11:38pm UTC](https://forums.percona.com/t/deploy-perconapgcluster-1-4-0-does-not-create-ownerreferences-to-pgcluster/22370 "2023-05-29T23:38:33Z")

</div>

Hi, I deployed “perconalab/percona-postgresql-operator:main-ppg14-postgres” and automatically the auto generated PostgresCluster had an ownerReferences like this: ownerReferences: - apiVersion: pg.percona.com/v2b…

---

## [Percona Operator for PostgreSQL 2.1.0 Released](https://forums.percona.com/t/percona-operator-for-postgresql-2-1-0-released/21895)

<div class="topic-metadata">

**Author:** [@Aleksandra\_Abramova](https://forums.percona.com/u/Aleksandra_Abramova)\
**Replies:** 0\
**Last updated:** [May 5, 2023, 4:46pm UTC](https://forums.percona.com/t/percona-operator-for-postgresql-2-1-0-released/21895 "2023-05-05T16:46:33Z")

</div>

May 4, 2023 - Find release notes at Percona Operator for PostgreSQL 2.1.0 Tech preview (2023-05-04) - Percona Operator for PostgreSQL

[Previous page](https://forums.percona.com/c/postgresql/percona-kubernetes-operator-for-postgresql/68.md?page=2)

[Next page](https://forums.percona.com/c/postgresql/percona-kubernetes-operator-for-postgresql/68.md?page=4)
