# LoadBalancer keep recreating whenever I am restoring data from s3

**URL:** <https://forums.percona.com/t/loadbalancer-keep-recreating-whenever-i-am-restoring-data-from-s3/21635>\
**Category:** Percona Operator for MongoDB\
**Tags:** percona, mongodb\
**Created:** [April 25, 2023, 8:34am UTC](https://forums.percona.com/t/loadbalancer-keep-recreating-whenever-i-am-restoring-data-from-s3/21635 "2023-04-25T08:34:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Avinash\_Rai](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/avinash_rai/32/10302_2.png) [@Avinash\_Rai](https://forums.percona.com/u/Avinash_Rai)\
**Post date:** [April 25, 2023, 8:34am UTC](https://forums.percona.com/t/loadbalancer-keep-recreating-whenever-i-am-restoring-data-from-s3/21635/1 "2023-04-25T08:34:49Z")

</div>

I have setuped eks cluster and I am exposing my mongos pods with a Load Balancer and when I am restoring my db I am getting a ready status and even my data is restored but after restoration process my mongos pod is getting killed and my load balancer is getting recreated  
Is this default behaviour our there is any issue with the restore thing.  
here are the operator logs “[controller\_error.logs · GitHub](https://gist.github.com/Avnshrai/cf4bda4121b22ecd5e350aef7fa06a60)”  
I have also created a issue here “[[K8SPSMDB-913] restore recreates mongos pod which recreates load balancer - Percona JIRA](https://jira.percona.com/browse/K8SPSMDB-913)”  
let me know what I am doing wrong

---

<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:** [April 28, 2023, 11:57am UTC](https://forums.percona.com/t/loadbalancer-keep-recreating-whenever-i-am-restoring-data-from-s3/21635/2 "2023-04-28T11:57:00Z")

</div>

@Avinash_Rai Interesting. I will try to reproduce it and let you know.

---

<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:** [May 1, 2023, 9:29am UTC](https://forums.percona.com/t/loadbalancer-keep-recreating-whenever-i-am-restoring-data-from-s3/21635/3 "2023-05-01T09:29:51Z")

</div>

I reproduced the issue. I see that load balancer is recreated, even for logical backup.

---

<div class="post-metadata">

**Author:** ![Avinash\_Rai](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/avinash_rai/32/10302_2.png) [@Avinash\_Rai](https://forums.percona.com/u/Avinash_Rai)\
**Post date:** [May 1, 2023, 9:41am UTC](https://forums.percona.com/t/loadbalancer-keep-recreating-whenever-i-am-restoring-data-from-s3/21635/4 "2023-05-01T09:41:51Z")

</div>

thanks for the update, hope it will get fixed soon
