# AWX statefulset concept

**URL:** <https://forum.ansible.com/t/awx-statefulset-concept/32570>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [March 31, 2020, 6:36am UTC](https://forum.ansible.com/t/awx-statefulset-concept/32570 "2020-03-31T06:36:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seong\_HO\_Park](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Seong\_HO\_Park](https://forum.ansible.com/u/Seong_HO_Park)\
**Post date:** [March 31, 2020, 6:36am UTC](https://forum.ansible.com/t/awx-statefulset-concept/32570/1 "2020-03-31T06:36:42Z")

</div>

Hi, i hava a question about AWX project.

I installed AWX on kubernets by github install guide and i am wondering why awx-postgresql shoud be statefulset.

Because, if i use a statefulset, awx-postgresql pods composed of statefulsets cannot be duplicated.  
Each pods have a unique persistent disk.

How can i do if i want to awx-postgresql duplication? (shared persistent disk)

As expected, i will change statefulset to deployment or anything to do?

Thanks.

---

<div class="post-metadata">

**Author:** ![Christopher\_Meyers](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@Christopher\_Meyers](https://forum.ansible.com/u/Christopher_Meyers)\
**Post date:** [March 31, 2020, 3:25pm UTC](https://forum.ansible.com/t/awx-statefulset-concept/32570/2 "2020-03-31T15:25:14Z")

</div>

We were stuck using statefulset because of rabbitmq. We needed the containers to come up in a certain order. Now that rabbitmq has been replaced with redis, we shouldn’t need statefulset anymore.

---

<div class="post-metadata">

**Author:** ![Shane\_McDonald](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@Shane\_McDonald](https://forum.ansible.com/u/Shane_McDonald)\
**Post date:** [March 31, 2020, 5:01pm UTC](https://forum.ansible.com/t/awx-statefulset-concept/32570/3 "2020-03-31T17:01:54Z")

</div>

I have a PR for this here: [https://github.com/ansible/awx/pull/6506](https://github.com/ansible/awx/pull/6506)

---

<div class="post-metadata">

**Author:** ![Seong\_HO\_Park](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Seong\_HO\_Park](https://forum.ansible.com/u/Seong_HO_Park)\
**Post date:** [April 1, 2020, 1:05am UTC](https://forum.ansible.com/t/awx-statefulset-concept/32570/4 "2020-04-01T01:05:48Z")

</div>

Thank you for your answer.

I found that new release contains redis, not rabbitmq.

But, if i use postgresql in helm chart, it is still statefulset.  
Do you have any plan to change this?

2020년 4월 1일 수요일 오전 12시 25분 36초 UTC+9, Christopher Meyers 님의 말:

---

<div class="post-metadata">

**Author:** ![Seong\_HO\_Park](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Seong\_HO\_Park](https://forum.ansible.com/u/Seong_HO_Park)\
**Post date:** [April 1, 2020, 1:36am UTC](https://forum.ansible.com/t/awx-statefulset-concept/32570/5 "2020-04-01T01:36:28Z")

</div>

I found your PR. Thank you.

But, awx 10.0.0 released on March 30 doesn’t include your PR.

And, i said above.  
postgresql in helm chart, it is still statefulset.

I will waiting for next version.

2020년 4월 1일 수요일 오전 2시 1분 54초 UTC+9, Shane McDonald 님의 말:
