AWX: Understanding pods, containers and their images

927 views
Skip to first unread message

vivek shete

unread,
May 17, 2023, 4:37:47 PM5/17/23
to AWX Project
I am pretty new to Kubernetes and installing the AWX tower for the first time with K8s. 

I am really confused which images are used for which containers and which pods these containers belongs to and what are their respective images? Please correct if my understanding below is right.

AWX operator spins up following pods with resp images in their links

pod1: awx-task; containers: web,  rsyslog, redis 
pod2: awx-web; containers: redis, task, rsyslog, ee 

And I have following defined in my custom resource file

ee_images:
- name: {name}
image: https://quay.io/repository/ansible/awx-ee?tab=tags&tag=latest
init_container_image_version: latest
Your help is really appreciated. TIA

AWX Project

unread,
Jun 9, 2023, 1:34:08 PM6/9/23
to AWX Project
good question!

awx-task* pod has a container awx-task, and this uses "image" and "image_version" (default is quay.io/ansible/awx:latest)
awx-web* pod has container awx-web, and this also uses "image" and "image_version"

awx-task* pod has a container awx-ee, and this uses "control_plane_ee_image"

ee_images just preloads AWX with additional execution environments (on top of the default execution environment)

the init_container_image is the container that runs on startup for both awx-task* and awx-web* pods]

hope that helps,

AWX Team

vivek shete

unread,
Jun 12, 2023, 3:49:35 PM6/12/23
to AWX Project
Thanks for explaining this. Is init container required at all? I am using awx-ee image in my manifest for init_container_image . init container inside task pod didnt come up. However my task and web pods are up and I am able to login to tower UI. 

AWX Project

unread,
Jun 14, 2023, 2:40:48 PM6/14/23
to AWX Project
Hi,

The init container(s) are required for normal functionality:


You can look at the commands here to see the exact steps performed.

Thanks,

AWX Team

Reply all
Reply to author
Forward
0 new messages