# Kubernetes CrashLoopBackOff

**URL:** <https://forum.ansible.com/t/kubernetes-crashloopbackoff/36354>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [February 22, 2022, 9:25am UTC](https://forum.ansible.com/t/kubernetes-crashloopbackoff/36354 "2022-02-22T09:25:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucas](https://avatars.discourse-cdn.com/v4/letter/l/ba8739/32.png) [@Lucas](https://forum.ansible.com/u/Lucas)\
**Post date:** [February 22, 2022, 9:25am UTC](https://forum.ansible.com/t/kubernetes-crashloopbackoff/36354/1 "2022-02-22T09:25:13Z")

</div>

Hi,

i have updated awx operator and after that awx is pending in CrashLoopBackOff.  
I checked the awx pod with “kubectl describe po -n awx awx-7db9bd74cf-n4np2” and saw that awx-web and awx-task are in CrashLoopBackOff with the Exit Code 127.

Does anybody have some ideas?

---

<div class="post-metadata">

**Author:** ![kdelee](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kdelee/32/193_2.png) [@kdelee](https://forum.ansible.com/u/kdelee)\
**Post date:** [February 23, 2022, 9:07pm UTC](https://forum.ansible.com/t/kubernetes-crashloopbackoff/36354/2 "2022-02-23T21:07:52Z")

</div>

Can you provide any more information? Sounds like the image is pulling but the container fails to keep running when it tries to start it.

Can you get the logs from the container when it tries to start?

---

<div class="post-metadata">

**Author:** ![Shu\_Latif](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@Shu\_Latif](https://forum.ansible.com/u/Shu_Latif)\
**Post date:** [March 5, 2022, 1:35pm UTC](https://forum.ansible.com/t/kubernetes-crashloopbackoff/36354/3 "2022-03-05T13:35:08Z")

</div>

I’m having the same issue.

Some things I am seeing but not sure what it means:  
1 authentication.go:345] Error looking up in-cluster authentication configuration: configmaps “extension-apiserver-authentication” is forbidden: User “system:kube-scheduler” cannot get resource “configmaps” in API group “” in the namespace “kube-system”

Mar 05 13:21:11 minikube kubelet[801]: E0305 13:21:11.273572 801 pod\_workers.go:918] “Error syncing pod, skipping” err=“[failed to "StartContainer" for "awx-server-web" with CrashLoopBackOff: "back-off 5m0s restarting failed container=awx-server-web pod=awx-server-7d8fb57c9-svbgq\_awx(75967920-1740-46f2-a4e1-bf38fdfa3faf)", failed to "StartContainer" for "awx-server-task" with CrashLoopBackOff: "back-off 5m0s restarting failed container=awx-server-task pod=awx-server-7d8fb57c9-svbgq\_awx(75967920-1740-46f2-a4e1-bf38fdfa3faf)"]” pod=“awx/awx-server-7d8fb57c9-svbgq” podUID=75967920-1740-46f2-a4e1-bf38fdfa3faf

---

<div class="post-metadata">

**Author:** ![Cnu\_k](https://avatars.discourse-cdn.com/v4/letter/c/a88e4f/32.png) [@Cnu\_k](https://forum.ansible.com/u/Cnu_k)\
**Post date:** [March 13, 2022, 10:49pm UTC](https://forum.ansible.com/t/kubernetes-crashloopbackoff/36354/4 "2022-03-13T22:49:06Z")

</div>

Exit code 127 appears to indicate either an incorrect command or path. Do you mind sharing little more info on the set up?  
Also above error refers to kube-system namespace, not sure why the operator is trying to install or lookup resources in that ns. Create a separate namespace as mentioned in the documentation and try again.

Thanks
