# awx on k8s with custom inages

**URL:** <https://forum.ansible.com/t/awx-on-k8s-with-custom-inages/30780>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [July 15, 2019, 9:10am UTC](https://forum.ansible.com/t/awx-on-k8s-with-custom-inages/30780 "2019-07-15T09:10:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alancivita](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@alancivita](https://forum.ansible.com/u/alancivita)\
**Post date:** [July 15, 2019, 9:10am UTC](https://forum.ansible.com/t/awx-on-k8s-with-custom-inages/30780/1 "2019-07-15T09:10:00Z")

</div>

Hi,  
I’ve created web and task custom images on my internal repostiry,  
which options/variables should i configure in the inventory files to use them to deploy on k8s? i can’t find anything on version 6.0.0 to specify the images names.

Any tips

Thanks

---

<div class="post-metadata">

**Author:** ![sdmorel](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@sdmorel](https://forum.ansible.com/u/sdmorel)\
**Post date:** [July 15, 2019, 12:27pm UTC](https://forum.ansible.com/t/awx-on-k8s-with-custom-inages/30780/2 "2019-07-15T12:27:38Z")

</div>

Hello,

You can point to your internal repository in the inventory file [https://github.com/ansible/awx/blob/devel/installer/inventory#L71](https://github.com/ansible/awx/blob/devel/installer/inventory#L71)

---

<div class="post-metadata">

**Author:** ![alancivita](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@alancivita](https://forum.ansible.com/u/alancivita)\
**Post date:** [July 15, 2019, 6:35pm UTC](https://forum.ansible.com/t/awx-on-k8s-with-custom-inages/30780/3 "2019-07-15T18:35:59Z")

</div>

Hi Sergio, thanks for getting back to me.  
I saw that option but if i enable it, then the installer tries to build the images locally.  
As far as i can understand these options are for pushing the images into the registry, but maybe i’m wrong.  
Presumably there’s should be also an option to specify images names or it is assumed that the images must have the same name as the ones provided via docker hub?

thanks  
Alan

---

<div class="post-metadata">

**Author:** ![Raja\_V](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@Raja\_V](https://forum.ansible.com/u/Raja_V)\
**Post date:** [July 28, 2019, 2:14pm UTC](https://forum.ansible.com/t/awx-on-k8s-with-custom-inages/30780/4 "2019-07-28T14:14:37Z")

</div>

Hi Alan,

You are correct, you need to give the path as below in the inventory

kubernetes\_task\_image=docker\_registry/docker\_registry\_repository/awx\_task  
kubernetes\_web\_image=docker\_registry/docker\_registry\_repositor/awx\_web

where  
docker\_registry - your docker name  
docker\_registry\_repositor - your repositor name

Regards,  
Raja V
