# Percona Operator for MongoDB

**URL:** https://forums.percona.com/c/mongodb/percona-kubernetes-operator-for-mongodb/29.md?page=1

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

**Page:** 2

---

## [MongoDB traffic investigation. system.profile resizing](https://forums.percona.com/t/mongodb-traffic-investigation-system-profile-resizing/39864)

<div class="topic-metadata">

**Author:** [@Stateros](https://forums.percona.com/u/Stateros)\
**Replies:** 4\
**Last updated:** [December 11, 2025, 12:38pm UTC](https://forums.percona.com/t/mongodb-traffic-investigation-system-profile-resizing/39864 "2025-12-11T12:38:28Z")

</div>

Hello folks, I need help with MongoDB traffic investigation and resizing system.profile in Percona Operator Description: I need to increase the size of the capped system.profile collection to capture more query history.…

---

## ["deleting outdated backup job" spam in the operator log on operator 1.20.0](https://forums.percona.com/t/deleting-outdated-backup-job-spam-in-the-operator-log-on-operator-1-20-0/38068)

<div class="topic-metadata">

**Author:** [@Stateros](https://forums.percona.com/u/Stateros)\
**Replies:** 4\
**Last updated:** [December 1, 2025, 9:59am UTC](https://forums.percona.com/t/deleting-outdated-backup-job-spam-in-the-operator-log-on-operator-1-20-0/38068 "2025-12-01T09:59:15Z")

</div>

Description: I’ve setup 2 clusters in the same namespace and faced with issue that opertaor is spamming with messages like: 11daf0d8-15a5-48cc-891c-47c4c938d268", "job": "replicaset-test-cluster-daily-physical-backup"} …

---

## [GCS backup failure: private key should be a PEM or plain PKCS1 or PKCS8](https://forums.percona.com/t/gcs-backup-failure-private-key-should-be-a-pem-or-plain-pkcs1-or-pkcs8/39612)

<div class="topic-metadata">

**Author:** [@Alex\_Dutra](https://forums.percona.com/u/Alex_Dutra)\
**Replies:** 2\
**Last updated:** [November 30, 2025, 4:39pm UTC](https://forums.percona.com/t/gcs-backup-failure-private-key-should-be-a-pem-or-plain-pkcs1-or-pkcs8/39612 "2025-11-30T16:39:32Z")

</div>

Description: Hi, I’m trying to perform backups using GCS. I’m using operator 1.21.0 and following the instructions here: However the backups fail with this message: “private key should be a PEM or plain PKCS1 or PKCS…

---

## [PBM Agent always running resync storage](https://forums.percona.com/t/pbm-agent-always-running-resync-storage/39715)

<div class="topic-metadata">

**Author:** [@arodgon](https://forums.percona.com/u/arodgon)\
**Replies:** 12\
**Last updated:** [November 29, 2025, 5:04pm UTC](https://forums.percona.com/t/pbm-agent-always-running-resync-storage/39715 "2025-11-29T17:04:58Z")

</div>

Description: Kubernetes. We have Percona MongoDB Operator deployed at version 1.21.1. We will now deploy a MongoDB database using the Helm Chart from GitHub \[ percona-helm-charts/charts/psmdb-db at main · percona/perco…

---

## [PMM 3.0 Support](https://forums.percona.com/t/pmm-3-0-support/39504)

<div class="topic-metadata">

**Author:** [@Semantic](https://forums.percona.com/u/Semantic)\
**Replies:** 1\
**Last updated:** [November 26, 2025, 2:30pm UTC](https://forums.percona.com/t/pmm-3-0-support/39504 "2025-11-26T14:30:25Z")

</div>

Creating this topic to help people follow the progress of support for PMM 3 into the Mongo Operator. Right now you could theoretically disable the pmm management by the operator and run your own standalone client while …

---

## [Can't find cluster-wide install option in OperatorHub](https://forums.percona.com/t/cant-find-cluster-wide-install-option-in-operatorhub/36395)

<div class="topic-metadata">

**Author:** [@92fnko](https://forums.percona.com/u/92fnko)\
**Replies:** 2\
**Last updated:** [November 26, 2025, 11:02am UTC](https://forums.percona.com/t/cant-find-cluster-wide-install-option-in-operatorhub/36395 "2025-11-26T11:02:45Z")

</div>

From my understanding, it’s possible to install the operator cluster-wide, but I can’t find it as an option in OpenShift’s OperatorHub. Is it in the process of being certified?

---

## [Different storage engines for part of nodes in replicaset](https://forums.percona.com/t/different-storage-engines-for-part-of-nodes-in-replicaset/39780)

<div class="topic-metadata">

**Author:** [@Mr\_X](https://forums.percona.com/u/Mr_X)\
**Replies:** 2\
**Last updated:** [November 25, 2025, 10:11pm UTC](https://forums.percona.com/t/different-storage-engines-for-part-of-nodes-in-replicaset/39780 "2025-11-25T22:11:09Z")

</div>

Description: Good afternoon. I am trying to set up a cluster in inMemory mode. However, my current configuration does not survive a planned cluster shutdown. The official documentation recommends creating a hidden replic…

---

## [Restore MongoDB Clusters on Kubernetes With \`pbm backup -t external\`](https://forums.percona.com/t/restore-mongodb-clusters-on-kubernetes-with-pbm-backup-t-external/39602)

<div class="topic-metadata">

**Author:** [@xiaobao\_wen](https://forums.percona.com/u/xiaobao_wen)\
**Replies:** 4\
**Last updated:** [November 21, 2025, 1:32pm UTC](https://forums.percona.com/t/restore-mongodb-clusters-on-kubernetes-with-pbm-backup-t-external/39602 "2025-11-21T13:32:00Z")

</div>

We try to use \`pbm backup -t external\` to backup MongoDB on kubernetes. Everything was going well until we started the restore operation. First we try Reference documentation pbm status status value done before resto…

---

## [Error when trying to restore - failed to ensure snapshot file .../cfg/metadata.json: get S3 object header: NoCredentialProviders](https://forums.percona.com/t/error-when-trying-to-restore-failed-to-ensure-snapshot-file-cfg-metadata-json-get-s3-object-header-nocredentialproviders/34937)

<div class="topic-metadata">

**Author:** [@Iulian\_Paraian](https://forums.percona.com/u/Iulian_Paraian)\
**Replies:** 7\
**Last updated:** [November 14, 2025, 10:50am UTC](https://forums.percona.com/t/error-when-trying-to-restore-failed-to-ensure-snapshot-file-cfg-metadata-json-get-s3-object-header-nocredentialproviders/34937 "2025-11-14T10:50:56Z")

</div>

Description: I have a MongoDB cluster in Kubernetes and automated backups running fine to an S3 location. Steps to Reproduce: When I try to restore from a backup, using with a configuration like below apiVersion: psmdb…

---

## [Best way to connect to Percona Server for MongoDB deployed via the official operator](https://forums.percona.com/t/best-way-to-connect-to-percona-server-for-mongodb-deployed-via-the-official-operator/39694)

<div class="topic-metadata">

**Author:** [@alfredogangemi](https://forums.percona.com/u/alfredogangemi)\
**Replies:** 7\
**Last updated:** [November 7, 2025, 1:50pm UTC](https://forums.percona.com/t/best-way-to-connect-to-percona-server-for-mongodb-deployed-via-the-official-operator/39694 "2025-11-07T13:50:35Z")

</div>

Hi, I’ve installed Percona Server for MongoDB using the official operator. I noticed that by default, a headless ClusterIP service is created that points to all MongoDB replicas. I also saw that it’s possible to enable…

---

## [How to specify a js to be executed once (e.g. /docker-entrypoint-initdb.d/init.js)](https://forums.percona.com/t/how-to-specify-a-js-to-be-executed-once-e-g-docker-entrypoint-initdb-d-init-js/39681)

<div class="topic-metadata">

**Author:** [@r.gambelli](https://forums.percona.com/u/r.gambelli)\
**Replies:** 1\
**Last updated:** [November 5, 2025, 10:48am UTC](https://forums.percona.com/t/how-to-specify-a-js-to-be-executed-once-e-g-docker-entrypoint-initdb-d-init-js/39681 "2025-11-05T10:48:03Z")

</div>

Hi all, I’m testing Pecona mongodb installed via operator in a k8s environment. I would like to know if it’s possible and how to do it, set a script to be executed only one time when volume is created at its first time…

---

## [Pods restart after upgrade to Operator 1.21.0](https://forums.percona.com/t/pods-restart-after-upgrade-to-operator-1-21-0/39627)

<div class="topic-metadata">

**Author:** [@shepz](https://forums.percona.com/u/shepz)\
**Replies:** 12\
**Last updated:** [November 3, 2025, 2:56pm UTC](https://forums.percona.com/t/pods-restart-after-upgrade-to-operator-1-21-0/39627 "2025-11-03T14:56:30Z")

</div>

Description: After upgrading to Percona Server for MongoDB Operator 1.21.0 (Helm chart psmdb-db 1.21.0), MongoDB pods in a non-sharded replica set (percona/percona-server-mongodb:7.0.24-13) are restarting intermittently.…

---

## [Bitnami/kubectl gone after Sept 29 ... also a problem here?](https://forums.percona.com/t/bitnami-kubectl-gone-after-sept-29-also-a-problem-here/39459)

<div class="topic-metadata">

**Author:** [@jamoser](https://forums.percona.com/u/jamoser)\
**Replies:** 3\
**Last updated:** [October 31, 2025, 6:01am UTC](https://forums.percona.com/t/bitnami-kubectl-gone-after-sept-29-also-a-problem-here/39459 "2025-10-31T06:01:34Z")

</div>

Hello Just saw you have an issue in a different Percona project. → has Percona Operator for MongoDB no issue with that topic ? Thanks & Regards John

---

## [Percona Operator for MongoDB endlessly spawning connections until OOMKilled](https://forums.percona.com/t/percona-operator-for-mongodb-endlessly-spawning-connections-until-oomkilled/39634)

<div class="topic-metadata">

**Author:** [@Pim](https://forums.percona.com/u/Pim)\
**Replies:** 12\
**Last updated:** [October 30, 2025, 3:03pm UTC](https://forums.percona.com/t/percona-operator-for-mongodb-endlessly-spawning-connections-until-oomkilled/39634 "2025-10-30T15:03:20Z")

</div>

Description: Percona Operator for MongoDB 1.21.0 is continually creating connections to cluster until operator pod crashes from OOMKilled. Sorry if this post is lacking information as it’s my first post here …

---

## [Percona MongoDB operator is causing high number of connections to the database](https://forums.percona.com/t/percona-mongodb-operator-is-causing-high-number-of-connections-to-the-database/29025)

<div class="topic-metadata">

**Author:** [@Sai\_krishna](https://forums.percona.com/u/Sai_krishna)\
**Replies:** 2\
**Last updated:** [October 28, 2025, 6:47am UTC](https://forums.percona.com/t/percona-mongodb-operator-is-causing-high-number-of-connections-to-the-database/29025 "2025-10-28T06:47:11Z")

</div>

Hi all, Percona operator is causing connection spike on the database. Here is the sample connection. Can we throttle the connections from operator? type: 'op', host: 'mgdb-rs0-1:27017', desc: 'conn326588', connec…

---

## [Percona Operator cannot release backup lock – all subsequent backups stuck in “waiting”](https://forums.percona.com/t/percona-operator-cannot-release-backup-lock-all-subsequent-backups-stuck-in-waiting/39585)

<div class="topic-metadata">

**Author:** [@bofh](https://forums.percona.com/u/bofh)\
**Replies:** 6\
**Last updated:** [October 27, 2025, 12:33pm UTC](https://forums.percona.com/t/percona-operator-cannot-release-backup-lock-all-subsequent-backups-stuck-in-waiting/39585 "2025-10-27T12:33:16Z")

</div>

Description: The Percona Server for MongoDB Operator becomes unable to perform new backups due to the message “Another backup is holding the lock.” There appears to be no way to clear this backup lock, even after del…

---

## [Mongod-failure-after-restore](https://forums.percona.com/t/mongod-failure-after-restore/39528)

<div class="topic-metadata">

**Author:** [@hemanth](https://forums.percona.com/u/hemanth)\
**Replies:** 2\
**Last updated:** [October 15, 2025, 12:25pm UTC](https://forums.percona.com/t/mongod-failure-after-restore/39528 "2025-10-15T12:25:07Z")

</div>

We are using a cloud infrastructure running on Ubuntu with three servers: one primary and two secondary. We are running Percona Backup for MongoDB (PBM) version v2.10. For backups, we use Amazon S3 as the storage destina…

---

## [Multi-zone setup failure, if one zone is not avail](https://forums.percona.com/t/multi-zone-setup-failure-if-one-zone-is-not-avail/39503)

<div class="topic-metadata">

**Author:** [@jamoser](https://forums.percona.com/u/jamoser)\
**Replies:** 6\
**Last updated:** [October 14, 2025, 9:38am UTC](https://forums.percona.com/t/multi-zone-setup-failure-if-one-zone-is-not-avail/39503 "2025-10-14T09:38:15Z")

</div>

Hello GKE: We set up our node pool such, that it has nodes from zone-a,b and c. When the mongodb pods first start, the disks are allocated from the respective zones → pvc from zone a, b and c. But if for example zone a…

---

## [External Arbiter like externalNodes](https://forums.percona.com/t/external-arbiter-like-externalnodes/39253)

<div class="topic-metadata">

**Author:** [@nick1](https://forums.percona.com/u/nick1)\
**Replies:** 3\
**Last updated:** [October 10, 2025, 5:26am UTC](https://forums.percona.com/t/external-arbiter-like-externalnodes/39253 "2025-10-10T05:26:33Z")

</div>

Currently at the organisation I work for we have a 2 cluster mongodb replicaset running on Openshift. It is not using an operator, it is a helm chart which has been modified quite extensively to suit our needs. The repli…

---

## [MongoDB Operator on Openshift 4.19](https://forums.percona.com/t/mongodb-operator-on-openshift-4-19/39521)

<div class="topic-metadata">

**Author:** [@LTSmash](https://forums.percona.com/u/LTSmash)\
**Replies:** 1\
**Last updated:** [October 9, 2025, 12:15pm UTC](https://forums.percona.com/t/mongodb-operator-on-openshift-4-19/39521 "2025-10-09T12:15:43Z")

</div>

Description: On OpenShift version 4.19.z the certified Percona MongoDB Operator is not available in the OperatorHub. On 4.18 it’s available. Steps to Reproduce: Search for the Percona MongoDB Operator in an OpenShift 4.…

---

## [serverSideEncryption.sseCustomerKey ignored when authenticating with IRSA](https://forums.percona.com/t/serversideencryption-ssecustomerkey-ignored-when-authenticating-with-irsa/39492)

<div class="topic-metadata">

**Author:** [@gnobiron](https://forums.percona.com/u/gnobiron)\
**Replies:** 1\
**Last updated:** [October 8, 2025, 10:37am UTC](https://forums.percona.com/t/serversideencryption-ssecustomerkey-ignored-when-authenticating-with-irsa/39492 "2025-10-08T10:37:52Z")

</div>

Description: When using an s3 storage for backups with sse-c (customer-provided keys) and authenticating with IRSA, the serverSideEncryption.sseCustomerKey is not pushed by the operator to PLM config, which make the back…

---

## [Retention for PITR data](https://forums.percona.com/t/retention-for-pitr-data/39506)

<div class="topic-metadata">

**Author:** [@horihel](https://forums.percona.com/u/horihel)\
**Replies:** 0\
**Last updated:** [October 7, 2025, 7:11am UTC](https://forums.percona.com/t/retention-for-pitr-data/39506 "2025-10-07T07:11:43Z")

</div>

Description: As far as my understanding of the docs go, if you configure PITR storage, retention policies will automatically keep PITR data for every snapshot regardless of storage logation (main/secondaries). So what i…

---

## [Bitnami image issue with mongodb-exporter:0.32.0](https://forums.percona.com/t/bitnami-image-issue-with-mongodb-exporter-0-32-0/39475)

<div class="topic-metadata">

**Author:** [@mikes](https://forums.percona.com/u/mikes)\
**Replies:** 4\
**Last updated:** [October 6, 2025, 10:30am UTC](https://forums.percona.com/t/bitnami-image-issue-with-mongodb-exporter-0-32-0/39475 "2025-10-06T10:30:30Z")

</div>

Description: Looks like our version of operator installed MongoDB has been caught by the Bitnami changes of Sept 29th Steps to Reproduce: Restart MongoDB on a Kubernetes node Version: mongodb-exporter:0.32.0 Logs: roo…

---

## [Data at rest encryption - Percona Operator for MongoDB](https://forums.percona.com/t/data-at-rest-encryption-percona-operator-for-mongodb/19711)

<div class="topic-metadata">

**Author:** [@anon17965173](https://forums.percona.com/u/anon17965173)\
**Replies:** 1\
**Last updated:** [January 21, 2023, 4:28pm UTC](https://forums.percona.com/t/data-at-rest-encryption-percona-operator-for-mongodb/19711 "2023-01-21T16:28:25Z")

</div>

According to Data at rest encryption - Percona Operator for MongoDB I can set my encryption secret as a Kubernetes secrets file. But what name must the stored Key be called the docs don’t tell. Getting: {"t":{"$date":…

---

## [How to port forward to Primary in Kubernetes Cluster](https://forums.percona.com/t/how-to-port-forward-to-primary-in-kubernetes-cluster/19294)

<div class="topic-metadata">

**Author:** [@anon17965173](https://forums.percona.com/u/anon17965173)\
**Replies:** 4\
**Last updated:** [February 13, 2024, 1:06pm UTC](https://forums.percona.com/t/how-to-port-forward-to-primary-in-kubernetes-cluster/19294 "2024-02-13T13:06:18Z")

</div>

I want to port forward to my Primary in the ReplicaSet on my Kubernetes Cluster. This is how I am doing it now and it always connects to the secondary: kubectl port-forward svc/percona-db-psmdb-db-rs0 -n psmdb 27017:270…

---

## [Facing issue with mongodb cluster in error state due to reconciler errors in operator pod](https://forums.percona.com/t/facing-issue-with-mongodb-cluster-in-error-state-due-to-reconciler-errors-in-operator-pod/36458)

<div class="topic-metadata">

**Author:** [@Raj\_Burnwal](https://forums.percona.com/u/Raj_Burnwal)\
**Replies:** 2\
**Last updated:** [February 1, 2025, 9:51am UTC](https://forums.percona.com/t/facing-issue-with-mongodb-cluster-in-error-state-due-to-reconciler-errors-in-operator-pod/36458 "2025-02-01T09:51:01Z")

</div>

Team, I setup percona mongodb cluster using helm. So after using for some time the db, I expanded volume by just editing pvc for replicas( 0-2). Now cluster is in error state due to reconciler errors in operator pods and…

---

## [How do we handle vertically scaling mongodb deployment](https://forums.percona.com/t/how-do-we-handle-vertically-scaling-mongodb-deployment/38197)

<div class="topic-metadata">

**Author:** [@Kay\_Khan](https://forums.percona.com/u/Kay_Khan)\
**Replies:** 1\
**Last updated:** [September 25, 2025, 12:32pm UTC](https://forums.percona.com/t/how-do-we-handle-vertically-scaling-mongodb-deployment/38197 "2025-09-25T12:32:50Z")

</div>

Hi im curious how people manage vertically scaling their percona MongoDB deployments we have a sharded replicated mongodb cluster with resources limits and requests set. resources: limits: cpu: 8 …

---

## [Single rs possible?](https://forums.percona.com/t/single-rs-possible/39295)

<div class="topic-metadata">

**Author:** [@dalu](https://forums.percona.com/u/dalu)\
**Replies:** 2\
**Last updated:** [September 23, 2025, 6:14pm UTC](https://forums.percona.com/t/single-rs-possible/39295 "2025-09-23T18:14:29Z")

</div>

Description: Is installing a single rs possible? Not 3 replicas, 1. I don’t want to waste the limited resources of the cluster. I have rdb underlying with 3 replicas, so I don’t need another layer of 3 nodes consuming a…

---

## [Percona MongoDB Operator Multi-Cluster Switchover/Failover](https://forums.percona.com/t/percona-mongodb-operator-multi-cluster-switchover-failover/37258)

<div class="topic-metadata">

**Author:** [@Laurentiu\_Soica](https://forums.percona.com/u/Laurentiu_Soica)\
**Replies:** 12\
**Last updated:** [September 23, 2025, 3:37pm UTC](https://forums.percona.com/t/percona-mongodb-operator-multi-cluster-switchover-failover/37258 "2025-09-23T15:37:15Z")

</div>

Description: I went through the tutorial to setup Percona MongoDB Multi-Cluster with the K8S Operator. About Multi-cluster and multi-region deployments - Percona Operator for MongoDB Everything went smooth. I want now t…

---

## [Psmdb-operator 1.20.1 not wort kubernetes 1.33.4](https://forums.percona.com/t/psmdb-operator-1-20-1-not-wort-kubernetes-1-33-4/39312)

<div class="topic-metadata">

**Author:** [@ildarmurtaev](https://forums.percona.com/u/ildarmurtaev)\
**Replies:** 3\
**Last updated:** [September 12, 2025, 7:50am UTC](https://forums.percona.com/t/psmdb-operator-1-20-1-not-wort-kubernetes-1-33-4/39312 "2025-09-12T07:50:40Z")

</div>

Description: kubernetes 1.33.4 psmdb-operator 1.20.1 There is an error INFOCube API Warning Logger unknown field “status.backupConfigHash” and memory leaks cause OOM to trigger Steps to Reproduce: update or deploy…

[Previous page](https://forums.percona.com/c/mongodb/percona-kubernetes-operator-for-mongodb/29.md)

[Next page](https://forums.percona.com/c/mongodb/percona-kubernetes-operator-for-mongodb/29.md?page=2)
