# AWX HA on Kubernetes

**URL:** <https://forum.ansible.com/t/awx-ha-on-kubernetes/32487>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [March 17, 2020, 3:24pm UTC](https://forum.ansible.com/t/awx-ha-on-kubernetes/32487 "2020-03-17T15:24:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajitkumar\_Tanwade](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Ajitkumar\_Tanwade](https://forum.ansible.com/u/Ajitkumar_Tanwade)\
**Post date:** [March 17, 2020, 3:24pm UTC](https://forum.ansible.com/t/awx-ha-on-kubernetes/32487/1 "2020-03-17T15:24:45Z")

</div>

Hi All,

Hope you are doing well.

We are trying to setup AWX on Kubernetes. There are three options to do that

1. Use AWX [https://github.com/ansible/awx](https://github.com/ansible/awx)

2. Adwex Heml Chart [https://hub.helm.sh/charts/adwerx/awx](https://hub.helm.sh/charts/adwerx/awx)

3. Lifen Helm Chart [https://hub.helm.sh/charts/lifen/awx](https://hub.helm.sh/charts/lifen/awx)

Could you please suggest the better way and easy to scale up and scale down? Or let us know in case of there is 4th option available

Regards,  
Ajit

---

<div class="post-metadata">

**Author:** ![Selvam\_Elangovan](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Selvam\_Elangovan](https://forum.ansible.com/u/Selvam_Elangovan)\
**Post date:** [March 17, 2020, 3:50pm UTC](https://forum.ansible.com/t/awx-ha-on-kubernetes/32487/2 "2020-03-17T15:50:17Z")

</div>

Please go with option 1. It is very easy and simple to upgrade. Please let me know if you have any questions.

---

<div class="post-metadata">

**Author:** ![Ajitkumar\_Tanwade](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Ajitkumar\_Tanwade](https://forum.ansible.com/u/Ajitkumar_Tanwade)\
**Post date:** [March 17, 2020, 4:20pm UTC](https://forum.ansible.com/t/awx-ha-on-kubernetes/32487/3 "2020-03-17T16:20:43Z")

</div>

Thank Selvam for your replay

Will I be able to autoscale based on the load in K8S and how to do that after installation? is there any reference available?

Regards,  
Ajit

---

<div class="post-metadata">

**Author:** ![Selvam\_Elangovan](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Selvam\_Elangovan](https://forum.ansible.com/u/Selvam_Elangovan)\
**Post date:** [March 17, 2020, 4:29pm UTC](https://forum.ansible.com/t/awx-ha-on-kubernetes/32487/4 "2020-03-17T16:29:09Z")

</div>

There I no reference in awx but you can use k8s procedure to scale up as deployment. It is k8s function.

---

<div class="post-metadata">

**Author:** ![Ajitkumar\_Tanwade](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Ajitkumar\_Tanwade](https://forum.ansible.com/u/Ajitkumar_Tanwade)\
**Post date:** [March 24, 2020, 5:13am UTC](https://forum.ansible.com/t/awx-ha-on-kubernetes/32487/5 "2020-03-24T05:13:21Z")

</div>

Hi, tried to update the no of replicas in **installer/roles/kubernetes/defaults/main.yml,** however it is still creating one AWX pod. please assist to get it fixed?

---

<div class="post-metadata">

**Author:** ![Dave\_Kruger](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@Dave\_Kruger](https://forum.ansible.com/u/Dave_Kruger)\
**Post date:** [March 31, 2020, 12:46pm UTC](https://forum.ansible.com/t/awx-ha-on-kubernetes/32487/6 "2020-03-31T12:46:03Z")

</div>

Hi Selvam

I have a question related to option 1 - posted it here:  
[https://groups.google.com/d/msg/awx-project/0uW6cuBBFcc/QQLjTZ6TBgAJ](https://groups.google.com/d/msg/awx-project/0uW6cuBBFcc/QQLjTZ6TBgAJ)

Would really appreciate some pointers.
