# Task init container - how to define

**URL:** <https://forum.ansible.com/t/task-init-container-how-to-define/7580>\
**Category:** Get Help\
**Tags:** awx, ee\
**Created:** [August 1, 2024, 4:11pm UTC](https://forum.ansible.com/t/task-init-container-how-to-define/7580 "2024-08-01T16:11:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lbrigman124](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@lbrigman124](https://forum.ansible.com/u/lbrigman124)\
**Post date:** [August 1, 2024, 4:11pm UTC](https://forum.ansible.com/t/task-init-container-how-to-define/7580/1 "2024-08-01T16:11:02Z")

</div>

We are deploying AWX and yesterday, our deployment tests failed.  
The awx-task pod was failing.  
awx-task-65ffcf99cc-gzwhk 0/4 Init:CrashLoopBackOff

Logs have:  
Error from server (BadRequest): container “awx-task” in pod “awx-task-65ffcf99cc-gzwhk” is waiting to start: PodInitializing

Since we are not on the latest we declare the control plane image to match the version that we are deploying but I find  
that the init image is defined as awx-ee:latest

Not what I expected.

Is there a way to define the task pod init image with the operator?

---

<div class="post-metadata">

**Author:** ![Denney-tech](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/denney-tech/32/1556_2.png) [@Denney-tech](https://forum.ansible.com/u/Denney-tech)\
**Post date:** [August 1, 2024, 5:37pm UTC](https://forum.ansible.com/t/task-init-container-how-to-define/7580/2 "2024-08-01T17:37:18Z")

</div>

Yes, all of the images used by AWX can be overwritten by the Operator.

[Using images from private registries - Ansible AWX Operator Documentation](https://ansible.readthedocs.io/projects/awx-operator/en/latest/user-guide/advanced-configuration/deploying-a-specific-version-of-awx.html)

The ones you’re looking for would be:

- `init_container_image`
- `init_container_image_version`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [August 31, 2024, 5:38pm UTC](https://forum.ansible.com/t/task-init-container-how-to-define/7580/3 "2024-08-31T17:38:11Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
