# AWX UI becomes unavailable during Job Template Execution hosted on kubernetes

**URL:** <https://forum.ansible.com/t/awx-ui-becomes-unavailable-during-job-template-execution-hosted-on-kubernetes/7068>\
**Category:** Get Help\
**Tags:** playbook, documentation, community-wg, release, awx, collections, ansible-core, ee, galaxy-ng, kubernetes\
**Created:** [July 5, 2024, 7:21am UTC](https://forum.ansible.com/t/awx-ui-becomes-unavailable-during-job-template-execution-hosted-on-kubernetes/7068 "2024-07-05T07:21:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![husnain\_taja](https://avatars.discourse-cdn.com/v4/letter/h/f04885/32.png) [@husnain\_taja](https://forum.ansible.com/u/husnain_taja)\
**Post date:** [July 5, 2024, 7:21am UTC](https://forum.ansible.com/t/awx-ui-becomes-unavailable-during-job-template-execution-hosted-on-kubernetes/7068/1 "2024-07-05T07:21:39Z")

</div>

Hi,

I have awx pods running on kubernetes:

details:  
AWX\_Version: AWX 22.2.0

awx-operator-controller-manager-774c766fd4-7d65g 2/2 Running 0 3d21h  
awx-postgres-13-0 1/1 Running 0 3d21h  
awx-task-654b64557f-djrmr 4/4 Running 0 3d21h  
awx-web-5d94c7bdcd-9kwts 3/3 Running 0 3d21h

The issue is that whenever I run any AWX job template the UI becomes unavailable until and unless jobs completed.

kubectl get pods -n awx  
NAME READY STATUS RESTARTS AGE  
automation-job-4150-zz272 1/1 Running 0 4m42s  
automation-job-4152-wgrj5 1/1 Running 0 4m23s  
automation-job-4155-xg9ld 1/1 Running 0 116s  
automation-job-4156-j9lql 1/1 Running 0 98s  
awx-operator-controller-manager-774c766fd4-7d65g 2/2 Running 0 3d21h  
awx-postgres-13-0 1/1 Running 0 3d21h  
awx-task-654b64557f-djrmr 4/4 Running 0 3d21h  
awx-web-5d94c7bdcd-9kwts 3/3 Running 0 3d21h

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/c/c74dde422dc5250bfe6939361c7eb39c4abfe5d4.png)

What can be the reason

---

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [July 5, 2024, 12:37pm UTC](https://forum.ansible.com/t/awx-ui-becomes-unavailable-during-job-template-execution-hosted-on-kubernetes/7068/2 "2024-07-05T12:37:06Z")

</div>

Hi,  
Are the resources in your Kubernetes cluster sufficient?  
It might simply be a case of insufficient CPU or memory in the Kubernetes cluster, causing the web pod to lack the resources needed to respond.

---

<div class="post-metadata">

**Author:** ![husnain\_taja](https://avatars.discourse-cdn.com/v4/letter/h/f04885/32.png) [@husnain\_taja](https://forum.ansible.com/u/husnain_taja)\
**Post date:** [July 5, 2024, 12:42pm UTC](https://forum.ansible.com/t/awx-ui-becomes-unavailable-during-job-template-execution-hosted-on-kubernetes/7068/3 "2024-07-05T12:42:03Z")

</div>

Hi @kurokobo ,

This are the details for awx-web container inside awx\_web pod

Requests:  
cpu: 100m  
memory: 128Mi

---

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [July 5, 2024, 12:49pm UTC](https://forum.ansible.com/t/awx-ui-becomes-unavailable-during-job-template-execution-hosted-on-kubernetes/7068/4 "2024-07-05T12:49:00Z")

</div>

The information about the request values is not very helpful here. What kind of Kubernetes cluster are you using? Also, do the nodes that make up the cluster have sufficient CPU and memory?  
Also please check the logs of the web pod and use the `kubectl describe` command to look at the Events of the pod.
