# Installation on 2 kubernetes clusters with the same database

**URL:** <https://forum.ansible.com/t/installation-on-2-kubernetes-clusters-with-the-same-database/37543>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [January 11, 2023, 2:45pm UTC](https://forum.ansible.com/t/installation-on-2-kubernetes-clusters-with-the-same-database/37543 "2023-01-11T14:45:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![milod](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@milod](https://forum.ansible.com/u/milod)\
**Post date:** [January 11, 2023, 2:45pm UTC](https://forum.ansible.com/t/installation-on-2-kubernetes-clusters-with-the-same-database/37543/1 "2023-01-11T14:45:04Z")

</div>

Hello,  
I would like to know if a configuration of 2 AWX (Operator version 1.1.1) on 2 different kubernetes clusters but pointing on the same external base works ?  
The idea would be to ensure AWX redundancy at cluster level.  
Thanks

---

<div class="post-metadata">

**Author:** ![pabbisetty.hm](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@pabbisetty.hm](https://forum.ansible.com/u/pabbisetty.hm)\
**Post date:** [January 11, 2023, 3:34pm UTC](https://forum.ansible.com/t/installation-on-2-kubernetes-clusters-with-the-same-database/37543/2 "2023-01-11T15:34:45Z")

</div>

Hi, We have implemented something like this to achieve HA/LB

![HA-Awx.JPG](https://groups.google.com/group/awx-project/attach/3706b509e5ddf/HA-Awx.JPG?part=0.1&view=1)

---

<div class="post-metadata">

**Author:** ![milod](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@milod](https://forum.ansible.com/u/milod)\
**Post date:** [January 13, 2023, 12:04pm UTC](https://forum.ansible.com/t/installation-on-2-kubernetes-clusters-with-the-same-database/37543/3 "2023-01-13T12:04:37Z")

</div>

Hello,  
Thank you for your answer. This is one of my leads. What bothers me is that the base in the stand-by part is read-only (in a Postgres HA architecture). It is therefore necessary to plan a switch action in the event of a switchover (but this is not too serious)…You are using a restore/backup procedure for your replication or you are using Postgres procedures ?  
Thanks
