# How to make replica pods as read replicas as I am using postgresql operator

**URL:** <https://forums.percona.com/t/how-to-make-replica-pods-as-read-replicas-as-i-am-using-postgresql-operator/31248>\
**Category:** Percona Operator for PostgreSQL\
**Created:** [June 26, 2024, 5:07am UTC](https://forums.percona.com/t/how-to-make-replica-pods-as-read-replicas-as-i-am-using-postgresql-operator/31248 "2024-06-26T05:07:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alifaraz7178](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@alifaraz7178](https://forums.percona.com/u/alifaraz7178)\
**Post date:** [June 26, 2024, 5:07am UTC](https://forums.percona.com/t/how-to-make-replica-pods-as-read-replicas-as-i-am-using-postgresql-operator/31248/1 "2024-06-26T05:07:47Z")

</div>

We are having some performance issue as all request go to one one pod which is acting primary how I can make replica pods as read replicas. Is it something which can be done through pgbouncer?

---

<div class="post-metadata">

**Author:** ![Agustin\_G](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/agustin_g/32/14111_2.png) [@Agustin\_G](https://forums.percona.com/u/Agustin_G)\
**Post date:** [June 27, 2024, 1:31am UTC](https://forums.percona.com/t/how-to-make-replica-pods-as-read-replicas-as-i-am-using-postgresql-operator/31248/2 "2024-06-27T01:31:49Z")

</div>

Hi Ali,  
You can check the following documentation page for more on this suject:

> **[Percona Operator for PostgreSQL - Exposing the cluster](https://docs.percona.com/percona-operator-for-postgresql/2.0/expose.html#exposing-the-cluster-without-pgbouncer)**
>
> The Operator provides entry points for accessing the database by client applications. The database cluster is exposed with regular Kubernetes Service objects configured by the Operator.

In particular, let me briefly do a partial quote here:

> You can connect to the cluster without a proxy. […]  
> The `cluster1-ha` service points to the active primary. In case of failover to the replica node, will change the endpoint automatically. **Also, you can use `cluster1-replicas` service to make read requests to PostgreSQL replica instances.**

---

<div class="post-metadata">

**Author:** ![Slava\_Sarzhan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/slava_sarzhan/32/3196_2.png) [@Slava\_Sarzhan](https://forums.percona.com/u/Slava_Sarzhan)\
**Post date:** [June 27, 2024, 7:47am UTC](https://forums.percona.com/t/how-to-make-replica-pods-as-read-replicas-as-i-am-using-postgresql-operator/31248/3 "2024-06-27T07:47:55Z")

</div>

@alifaraz7178, in PGO 2.4.0, you will have the possibility to [expose](https://github.com/percona/percona-postgresql-operator/blob/main/deploy/cr.yaml#L121) this service if needed. We will have a release tomorrow.
