AWX statefulset concept

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.

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.

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

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 님의 말:

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 님의 말: