# Installing additional packages into an AWX K8S setup

**URL:** <https://forum.ansible.com/t/installing-additional-packages-into-an-awx-k8s-setup/35668>\
**Category:** AWX Project\
**Tags:** kubernetes, awx\
**Created:** [August 24, 2021, 3:33pm UTC](https://forum.ansible.com/t/installing-additional-packages-into-an-awx-k8s-setup/35668 "2021-08-24T15:33:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cade\_Lambert](https://avatars.discourse-cdn.com/v4/letter/c/278dde/32.png) [@Cade\_Lambert](https://forum.ansible.com/u/Cade_Lambert)\
**Post date:** [August 24, 2021, 3:33pm UTC](https://forum.ansible.com/t/installing-additional-packages-into-an-awx-k8s-setup/35668/1 "2021-08-24T15:33:24Z")

</div>

We have AWX installed in a Kubernetes cluster. Everything is working great, however we have found a need to install some additional packages (i.e. openvpn) so jobs running from AWX can make use of them. What is the best way to go about this?

---

<div class="post-metadata">

**Author:** ![Kevin\_Bonilla](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kevin_bonilla/32/9898_2.png) [@Kevin\_Bonilla](https://forum.ansible.com/u/Kevin_Bonilla)\
**Post date:** [August 24, 2021, 3:34pm UTC](https://forum.ansible.com/t/installing-additional-packages-into-an-awx-k8s-setup/35668/2 "2021-08-24T15:34:43Z")

</div>

Sounds like you need execution environments! (Assuming you’re AWX v18+) There’s some good resources around the internet

[https://www.linkedin.com/pulse/creating-custom-ee-awx-phil-griffiths/](https://www.linkedin.com/pulse/creating-custom-ee-awx-phil-griffiths/)

---

<div class="post-metadata">

**Author:** ![Cade\_Lambert](https://avatars.discourse-cdn.com/v4/letter/c/278dde/32.png) [@Cade\_Lambert](https://forum.ansible.com/u/Cade_Lambert)\
**Post date:** [August 24, 2021, 3:53pm UTC](https://forum.ansible.com/t/installing-additional-packages-into-an-awx-k8s-setup/35668/3 "2021-08-24T15:53:35Z")

</div>

Interesting, so execution environments provide a “space” for additional resources to be installed and consumed by AWX during job runtime?

---

<div class="post-metadata">

**Author:** ![Kevin\_Bonilla](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kevin_bonilla/32/9898_2.png) [@Kevin\_Bonilla](https://forum.ansible.com/u/Kevin_Bonilla)\
**Post date:** [August 24, 2021, 5:55pm UTC](https://forum.ansible.com/t/installing-additional-packages-into-an-awx-k8s-setup/35668/4 "2021-08-24T17:55:31Z")

</div>

Exactly, any dependencies you guys need for your environment (Windows, hashi\_vault, etc) you just throw at your execution environment. I’m a big fan of this feature because before we’d have to install it on the awx\_task container which doesn’t provide consistency and makes your environment more adaptable.

---

<div class="post-metadata">

**Author:** ![Cade\_Lambert](https://avatars.discourse-cdn.com/v4/letter/c/278dde/32.png) [@Cade\_Lambert](https://forum.ansible.com/u/Cade_Lambert)\
**Post date:** [August 26, 2021, 1:32pm UTC](https://forum.ansible.com/t/installing-additional-packages-into-an-awx-k8s-setup/35668/5 "2021-08-26T13:32:18Z")

</div>

Awesome, I got this working. Thanks for the suggestion. One more question, AWX spins up a container based on the ansible-builder image. I assume it destroys that container once the job is complete?
