# Mongodb cluster, external load balancer created

**URL:** <https://forums.percona.com/t/mongodb-cluster-external-load-balancer-created/10650>\
**Category:** Percona Operator for MongoDB\
**Created:** [May 31, 2021, 9:19pm UTC](https://forums.percona.com/t/mongodb-cluster-external-load-balancer-created/10650 "2021-05-31T21:19:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamoser](https://avatars.discourse-cdn.com/v4/letter/j/b2d939/32.png) [@jamoser](https://forums.percona.com/u/jamoser)\
**Post date:** [May 31, 2021, 9:19pm UTC](https://forums.percona.com/t/mongodb-cluster-external-load-balancer-created/10650/1 "2021-05-31T21:19:20Z")

</div>

Hello

Why does the cr.yaml script generate external load balancer (with external IPs) by default. Is there a way to **disable** it or is this required for a working cluster ?

 ![image](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/9/997a51a0a8542d8b9ba7705c8fab823802938d17.png)

Thanks in advance  
John

---

<div class="post-metadata">

**Author:** ![jamoser](https://avatars.discourse-cdn.com/v4/letter/j/b2d939/32.png) [@jamoser](https://forums.percona.com/u/jamoser)\
**Post date:** [June 1, 2021, 6:49pm UTC](https://forums.percona.com/t/mongodb-cluster-external-load-balancer-created/10650/2 "2021-06-01T18:49:23Z")

</div>

It’s always funny if you deliver the answer by yourself. For the sake of the Percona community:

Set in cr.yaml → expose=false

---

<div class="post-metadata">

**Author:** ![Sergey\_Pronin](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/sergey_pronin/32/14887_2.png) [@Sergey\_Pronin](https://forums.percona.com/u/Sergey_Pronin)\
**Post date:** [June 4, 2021, 1:22pm UTC](https://forums.percona.com/t/mongodb-cluster-external-load-balancer-created/10650/3 "2021-06-04T13:22:44Z")

</div>

Hello @jamoser ,

that is strange, but by default exposure for ReplicaSets is disabled.  
Please see here: [percona-server-mongodb-operator/cr.yaml at main · percona/percona-server-mongodb-operator · GitHub](https://github.com/percona/percona-server-mongodb-operator/blob/main/deploy/cr.yaml#L96-L97)

It seems that you have enabled it before.
